doughemi Posted May 24, 2015 Posted May 24, 2015 OS is Yosemite 10.10.3 I am trying to install the FDS version of FMS 14. Before installation, PHP works fine on my localhost. I can locate and run any file in the /Library/Webserver/Documents folder After installation, FMS works fine as a server for FM files, but if I try to run a php script, even a very simple one containing just a phpinfo() command, or an html file, I see the following message: 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. I uninstall FMS and Apache again can execute PHP and HTML files. I have repeated this sequence twice, restarting after each install/uninstall operation. Please suggest my next step.
xochi Posted May 24, 2015 Posted May 24, 2015 Are you running OS X Server.app as well? Basically, OS X has one instance of Apache running, and FMS installs a second one. They can coexist peacefully if you mind port conflicts. See http://fmforums.com/forums/topic/97100-fmserver-14-with-os-x-server-and-custom-webdirect-ssl-certificate/ for my experiences.
doughemi Posted May 24, 2015 Author Posted May 24, 2015 No, this is a development machine with no other server functions. No SSL either, after seeing all the hassles everyone else has had with THAT. How would I disable the OS X version permanently? Where would I find it to remove it? I have no use for it; I just need it to work for FMS. Does FMS install its own httpd.conf file somewhere else besides /private/etc/apache2 ?
xochi Posted May 25, 2015 Posted May 25, 2015 Does FMS install its own httpd.conf file somewhere else besides /private/etc/apache2 ? Yes, in fact I think FMS installs its own apache binary as well. If you are familiar with apache configuration, then you want to look at /Library/FileMaker Server/HTTPServer/conf which is where all the goodies are placed.
doughemi Posted May 27, 2015 Author Posted May 27, 2015 Resolved! Filemaker Server 12 used the /Library/Web Publishing/Documents directory for php documents. But Filemaker Server 13 Custom Web Publishing with PHP states 4. Copy or move your site files to the web server component of your FileMaker Server deployment. Copy or move your site files to the following directory on the web server machine: <snip> Apache (OS X) through HTTP: /Library/FileMaker Server/HTTPServer/htdocs Apache (OS X) through HTTPS:/Library/FileMaker Server/HTTPServer/htdocs/httpsRoot I haven't found the FMS 14 version yet, but these instructions apply to FMS 14. Another RTFM fail for me!
Recommended Posts
This topic is 3820 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now