AnsweredAssumed Answered

Help to Manual install FileMaker API on Mac OS X Server 10.5.3

Question asked by ErichWetzel on Jul 23, 2009
Latest reply on Oct 14, 2009 by ErichWetzel


Help to Manual install FileMaker API on Mac OS X Server 10.5.3

Your post

Install of FMSA10 was set to use default php (5.2.5) from OS X Server 10.5.3 as we had php pages and scripts which worked and as such felt no need to play with or potentially break at the time of FMSA10 install.  Now ready to try PHP with filemaker. 


Following the instructions in the Filemaker Server Custom web publishing with PHP documentation, I have performed the following steps:


-Enable cURL.  Info.php shows it as enabled.

-Place FileMaker.php and FileMaker folder from Standalone zip file into /Library/WebServer/Documents

-In php.ini add line to tell where these things are: include_path = /Library/WebServer/Documents/FileMaker.php


Restart Web server.  Restart Web Publishing Engine. 


Test page result:

Warning: require_once(FileMaker.php) [function.require-once]: failed to open stream: No such file or directory in /Library/FileMaker Server/Web Publishing/web-server-support/test/fmi-test/phptest.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'FileMaker.php' (include_path='/Library/WebServer/Documents/FileMaker.php') in /Library/FileMaker Server/Web Publishing/web-server-support/test/fmi-test/phptest.php on line 5 




Thanks - Erich