Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6020 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm new to this and am trying to setup my server (server 2003 + SP2 + IIS). PHP is installed and running (5.2.3), the sample database works fine with their associated setup files but I can't get the PHP Site Assistant to generate files that work (even on the FMPHP_sample.fp7 file). I get a blank page when I try to load up the home.php file in my browser. I'd be very grateful for suggestions as to how to go about trouble shooting this one. I have updated all the programs - 9.3 for FM-SA and so on.

many thanks,

George

Posted

I've been trawling through this all day and thanks to Andy Gaunt's suggestion (on another similar topic) and piece of code to report errors onto the browser, I've worked out that it is to do with the location of the filemaker.php files and subfiles. I now need to work out how to specify the location of these files as they are integral to the working of FM-API for PHP. Any suggestions would be appreciated.

Regards,

George

Posted

I've been trawling through this all day and thanks to Andy Gaunt's suggestion (on another similar topic) and piece of code to report errors onto the browser, I've worked out that it is to do with the location of the filemaker.php files and subfiles. I now need to work out how to specify the location of these files as they are integral to the working of FM-API for PHP. Any suggestions would be appreciated.

Regards,

George

Posted (edited)

You need to place the Filemaker.php and Filemaker folder in a directory that is listed in PHP's include_path, or provide a relative (or exact) link to Filemaker.php.

To find out what PHP's include path is set to:

Create a file called phpinfo.php.

Add just the following code.

<?

phpinfo();

?>

Surf to that file in your web browser. The PHP Core table (second one from the top) contains both the master and local include_path values.

The master value is set in the master php.ini file. I run Apache and am not sure where IIS puts this. Try C:/PHP. You can customize settings locally for a particular aplication by placing a php.ini in the application's root folder.

Edited by Guest
code tags keep stripping off trailing ?>

This topic is 6020 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.