Problem scenario
You have an Apache web server with PHP code. You are trying to integrate web pages with Postgresql. When browsing to a web page (.php), you are getting a 500 URL return code. Your PHP web page file is using the reserved command “pg_connect.” How do you overcome this 500 URL return code error and have the web page work?
Solution
Possible solution #1: Reboot the web server.
…