AnsweredAssumed Answered

Can't access database from web server php script (Filemaker API for PHP)

Question asked by alternapop on Nov 6, 2017
Latest reply on Nov 9, 2017 by alternapop

We have 2 identical environments, one is a test environment and one is production. Each environment contains 2 servers, a FMP 16 server and a separate IIS server.

 

Win 2012 IIS

Win 2012 Filemaker Pro Server 16

 

We have a database hosted in the test environment that is referenced by a website on the test web server, and a php file is configured with the FMP server domain, user, pass, and db name. It works in the test environment.

 

When I copy the db and web site over to the production environment and change the php file to point to the production FMP server, we're getting this error:

 

Communication Error: (22) The requested URL returned error: 404 Not Found - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user. (error 22)

 

It's confusing because the production environment will work if it points to the test FMP server, only changing the server domain in the php config, but not the production FMP server with a copy of the same database.

 

Both FMP Servers are configured the same within the admin console.

 

telnet domain 80|443 works from the web server to both FMP servers and I've tried turning off the firewall.

 

What could be causing this?

 

Thanks!

Outcomes