AnsweredAssumed Answered

Cannot connect to localhosted database via PHP

Question asked by doughemi on Jan 31, 2019
Latest reply on Jan 31, 2019 by doughemi

I have installed a copy of my website on my local server with installed FMS 17.

Direct contact with the (local copy of the) database works fine through File–>Hosts, and I can access the Admin Console via localhost:16001.

When I try to connect via a php script, I get an Error 22 message:

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

I can run other scripts which do not access the database successfully.

What steps should I take to isolate the problem?

Outcomes