Re: pg calls not working from within Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



bp1974@xxxxxxxxxxx wrote:

Hi,
 I am trying to get a PostGresql <-->PHP<-->Apache working and am running to the well documented problem of :

Fatal error: Call to undefined function: pg_connect() in /var/www/html/dbview.php on line 14

Call to undefined function, means the pgsql extension is infact not there. Do you have multiple php's on this machine? Do you have a misconfigured php.ini lying around in your root directory, that php will read when its been run from apache. Remember php running from apache will read configuration files that php running from CLI wouldn't.

cheers


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux