#47821 [NEW]: Cannot get Postgres loaded even tho PHP.INI indicates that it s/b loaded ?

[email protected] ("terrylipford at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             terrylipford at gmail dot com
Operating system: Vista
PHP version:      5.2.9
PHP Bug Type:     PostgreSQL related
Bug description:  Cannot get Postgres loaded even tho PHP.INI indicates that it s/b loaded ?

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 bug report at http://bugs.php.net/?id=47821&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=47821&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=47821&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=47821&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=47821&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47821&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=47821&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=47821&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=47821&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=47821&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=47821&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=47821&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=47821&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=47821&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=47821&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47821&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47821&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=47821&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=47821&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=47821&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=47821&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=47821&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.