#47821 [Opn->Bgs]: Cannot get Postgres loaded even tho PHP.INI indicates that it s/b loaded ?
| From: | pajoye@php.net | Date: | Sat, 28 Mar 2009 16:52:30 +0000 |
| Subject: | #47821 [Opn->Bgs]: Cannot get Postgres loaded even tho PHP.INI indicates that it s/b loaded ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-135254@lists.php.net to get a copy of this message | ||
ID: 47821
Updated by: pajoye@php.net
Reported By: terrylipford at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: PostgreSQL related
Operating System: Vista
PHP Version: 5.2.9
-Assigned To:
+Assigned To: pajoye
New Comment:
Be sure to have the libpq.dll in you path, please ask further questions
in the php setup or windows mailing list.
Previous Comments:
------------------------------------------------------------------------
[2009-03-28 15:18:53] terrylipford at gmail dot com
Description:
------------
My PHP.INI file has the text set to have Postgres extension loaded, but
it does not load because it does not show up in a PHPINFO(). Any other
change I make to PHP.INI does show up, but Postgres will not.
PGAdmin runs just fine, but any attempt to call a Postgres function
from a PHP page fails.
Reproduce code:
---------------
from my PHP.INI file;
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
From my HTTPD.CONF file;
LoadModule php5_module "C:\Program Files (x86)\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
AcceptPathInfo on
PHPIniDir "C:\Program Files (x86)\PHP\php.ini"
Expected result:
----------------
As a long time PHP and Postgres developer/user/admin, I have never had
this happen before ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47821&edit=1