note 88246 deleted from function.pg-connect by danbrown

From: Date: Fri, 16 Jan 2009 21:37:38 +0000
Subject: note 88246 deleted from function.pg-connect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-149343@lists.php.net to get a copy of this message
Note Submitter: Uday Kari ---- Kept getting PHP Fatal error in the error log of my Apache 2.2.11: Call to undefined function pg_connect() in xxx.php. Doing phpinfo confirms that PostGreSQL php_pgsql.dll is not getting picked up. Just searching for PostgreSQL in the phpinfo() is enough for that. Checked that php.ini file has the extension dir and extension specified correctly. What gives? Anyhooo...hack time...copied the php_pgsql.dll into the Apache bin directory and bounced apache. This is advised on many sites if you google, pretty sure it is bad idea...but it Works!

« previous php.notes (#149343) next »