mdiehr

PHP API with OS X 10.6.8 and Filemaker Server Advanced 11

Discussion created by mdiehr on Jul 22, 2013
Latest reply on Jul 23, 2013 by mdiehr

I'm having a heck of a time getting the PHP API working on a server that's running OS X 10.6.8.

 

I can get PHP to work, and I can get FileMaker.php to load. However when I try a simple command such as

 

 




$dbs = $fm->listDatabases();

if (FileMaker::isError($dbs)) {

echo "<p>FM PHP API Error listing databases: " . $dbs->getCode() . " : " . $dbs->getMessage() . "</p>";
exit;

}

 

 


I end up getting

 

FM PHP API Error listing databases: -1 : Unknown error.

 

 

The version of PHP seems to be 5.3.8, which is odd, since this page: http://help.filemaker.com/app/answers/detail/a_id/6508/~/supported-php-versions suggests I should only be running 5.3.0

 

I'm running the lastest FileMaker Server Advanced 11.0.5.510.

 

Any ideas?

Outcomes