note 88246 added to function.pg-connect

From: Date: Fri, 16 Jan 2009 21:36:01 +0000
Subject: note 88246 added to function.pg-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-149341@lists.php.net to get a copy of this message
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! ---- Server IP: 209.41.74.194 Probable Submitter: 166.122.161.10 ---- Manual Page -- http://www.php.net/manual/en/function.pg-connect.php Edit -- https://master.php.net/note/edit/88246 Del: integrated -- https://master.php.net/note/delete/88246/integrated Del: useless -- https://master.php.net/note/delete/88246/useless Del: bad code -- https://master.php.net/note/delete/88246/bad+code Del: spam -- https://master.php.net/note/delete/88246/spam Del: non-english -- https://master.php.net/note/delete/88246/non-english Del: in docs -- https://master.php.net/note/delete/88246/in+docs Del: other reasons-- https://master.php.net/note/delete/88246 Reject -- https://master.php.net/note/reject/88246 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149341) next »