note 88245 added to function.pg-connect
| From: | UdayKari at osu1 dot php dot net | Date: | Fri, 16 Jan 2009 21:35:48 +0000 |
| Subject: | note 88245 added to function.pg-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149340@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/88245
Del: integrated -- https://master.php.net/note/delete/88245/integrated
Del: useless -- https://master.php.net/note/delete/88245/useless
Del: bad code -- https://master.php.net/note/delete/88245/bad+code
Del: spam -- https://master.php.net/note/delete/88245/spam
Del: non-english -- https://master.php.net/note/delete/88245/non-english
Del: in docs -- https://master.php.net/note/delete/88245/in+docs
Del: other reasons-- https://master.php.net/note/delete/88245
Reject -- https://master.php.net/note/reject/88245
Search -- https://master.php.net/manage/user-notes.php