I have deployed a two-machine Filemaker server (FMS 126.96.36.199 on both machines). Both machines are virgin macOS 10.12.6 on freshly formatted hard disks and, as such, the Filemaker installations are new installs rather than upgrades from previous versions.
Deployment was all successful on first attempt and database hosting to Filemaker clients is working properly.
Deployment of the web worker machine seemed to be completely successful as well but after copying my php files to the web server, it responds with following error when they are accessed:
"The requested URL was not found on this server. The link on the ">referring page seems to be wrong or outdated. Please inform the author of ">that page about the error. If you entered the URL manually please check your spelling and try again."
Even a simple php file that does not rely on connectivity to the FM database server is not rendered. ( for example - <?php
echo phpinfo(); ?> )
When, however, I access an html file placed on the worker machine, it serves it properly as well as images that reside on the server. It appears as though .php has been added to the server's accepted file extensions in /Library/FileMaker\ Server/Web\ Publishing/publishing-engine/php/sierra/httpd.fmi.conf.php as well as /Library/FileMaker\ Server/Web\ Publishing/publishing-engine/php/sierra/httpd.conf.php
PHP is enabled in the Admin Console on the Master and I've attempted access via http"// and https:// with the setting Admin Console setting "Use HSTS for web client" turned on or off respectively.
I have also read of others having this issue although not with exactly the same circumstances as mine and have re-deployed the Master server once without any change.
Can someone point me to anything else I could check?