phpPgAdmin on Wamp
Posted by: Cihan (195.142.27.---)
Date: August 11, 2009 10:08AM

I use
WampServer Version 2.0
PHP 5.2.9-2
Apache 2.2.11.

In php.ini files php_pdo_pgsql and php_pgsql are uncommented and their .dll exist in ext directory
But phpinfo() do not show pgsql support for pdo

localhost/phppgadmin/ on browser gives a warning like:
Unable to find PostgreSql support on your php installation.

there are lines in the php error log


[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pdo_pgsql.dll' -The specified method could not be found.

in Unknown on line 0

[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pgsql.dll' -The specified module could not be found.

in Unknown on line 0


[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pdo_pgsql' - The specified module could not be found.

in Unknown on line 0

[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pdo_pgsql.dll' - The specified method could not be found.

in Unknown on line 0

[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pgsql.dll' -The specified module could not be found.

in Unknown on line 0


[11-Aug-2009 10:44:13] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_pdo_pgsql' - The specified module could not be found.

in Unknown on line 0






What might be the problem?

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 11, 2009 12:13PM

You need to enable php_pdo.dll too in the php.ini

Make sure you're editing the right php.ini, by left clicking wamp tray icon and select PHP > php.ini

Make sure you restart Apache after making any changes to the php.ini

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: Cihan (195.142.27.---)
Date: August 11, 2009 01:22PM

Sorry. I forgot to mention that I already enabled php_pdo.dll

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 11, 2009 07:11PM

Are you sure you are editing the correct php.ini? To ensure you're editing the correct php.ini, left click wamp tray icon and select PHP > php.ini

Also to let you know another way of enabling extensions is to left click wamp tray icon and select > PHP > Extensions. Select the extensions you wish to enable from the list.

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: Cihan (195.142.27.---)
Date: August 12, 2009 09:35AM

I checked the php.ini files and PHP > Extensions. The extensions are seen as enabled. I am sure I am editing correct php.ini.

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: tlacroix (---.46-70-69.static.videotron.ca)
Date: August 13, 2009 07:33PM

Got the exact same problem here with WampServer 2.0i, Apache 2.2.11 and PHP 5.2.6 to 5.3.0 (including 5.2.9-1 and 5.2.9-2).

PHP 5.2.5 and PHP 6.0 dev (12/02/2007 Snapshot) seems to work fine so far.

php_pdo, php_pdo_mysql and php_pdo_sqlite will load and work just fine.

php_pdo_pgsql, php_pgsql and php_pdo_oci won't load for some obscure reason.

Prior to PHP 5.2.9-2, Apache/PHP is silent about the error. The module is not loaded, but there's no error message dialog. PHP-5.2.9-2 and later displays a dialog complaining.

I'm running Windows XP Pro 32bit., and I have Postgre 8.4 installed.

Thanks,

T

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: tlacroix (---.46-70-69.static.videotron.ca)
Date: August 20, 2009 08:07PM

Replacing Wamp Server PHP 5.2.9-2 php_pgsql.dll and php_pdo_pgsql.dll files with those from the second link in the page below seems to fix my problem. I didn't test it with any other version though.

[www.bmedon.net]

Hopefully this can be fixed in a later build of PHP 5.3.0.

Best,

T

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: Cihan (195.142.27.---)
Date: August 21, 2009 08:12AM

It works. Thank you very much.

Options: ReplyQuote
Re: phpPgAdmin on Wamp
Posted by: gamerff (---.76.255.157.static.coditel.net)
Date: February 02, 2010 02:05PM

Same problem, ive searched for a long too, but your link has save me a lot of time... Thank you man !

Options: ReplyQuote


Sorry, only registered users may post in this forum.