cant load pg_sql.dll
Posted by: nego (---.venlo1.lb.home.nl)
Date: August 03, 2009 09:40PM

I cant connect with my postgres database because he says that the function is unknown. I highlighted the pg_sql extension in the wamp tray but it isnt enabled at my localhost overview.

I just copied the dll files from php 5.2.5 but without result. I still dont know what is wrong. Someone who can help me with this issue?

[Mon Aug 03 21:37:22 2009] [notice] Parent: Created child process 912
PHP Warning: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified procedure could not be found.
in <b>Unknown</b> on line <b>0</b><br />
[Mon Aug 03 21:37:23

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: toumimi (---.11.115-78.rev.gaoland.net)
Date: August 03, 2009 10:38PM

Hi,

Follow this and check each point : [forum.wampserver.com]

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: yfastud (Moderator)
Date: August 03, 2009 10:59PM

enable extensions only will NOT work unless you've already installed postgressql

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: nego (---.venlo1.lb.home.nl)
Date: August 14, 2009 08:25PM

I have already installed Postgresql but i receive the error that he cannot load the functie. In my overview from WAMP i see that the extension is not loaded and the error logs says:


PHP Warning: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified module could not be found.
in <b>Unknown</b> on line <b>0</b><br />
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libpq.dll' in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Invalid library (maybe not a PHP library) 'libpq.dll' in <b>Unknown</b> on line <b>0</b><br />
[Fri Aug 14 20:20:34 2009] [notice] Child 1800: Child process is running



I already upgraded everything but i cannot find the problem.

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: nego (---.venlo1.lb.home.nl)
Date: August 16, 2009 06:37PM

Nobody with a solution or something?

@ Florian
I done all that but everything seems to be fine.

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: tlacroix (---.46-70-69.static.videotron.ca)
Date: August 17, 2009 02:49PM

Same problem reported here:
[forum.wampserver.com]

I still haven't found a solution to it. I lately tried to install WampServer 2.0i/PHP 5.3.0 on a fresh WinXP with Postgres 8.4 installed. Same thing. So i'm stuck developing and testing with 5.2.5.

T

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: nego (---.speed.planet.nl)
Date: August 17, 2009 03:39PM

Yeah well same to me.. Although im working on Windows 7 at the moment but it looks like that isnt the problem.

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: tlacroix (---.46-70-69.static.videotron.ca)
Date: August 20, 2009 08:08PM

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: cant load pg_sql.dll
Posted by: nego (---.venlo1.lb.home.nl)
Date: August 23, 2009 01:30PM

Well i added those libs but still the same:

[Sun Aug 23 13:29:18 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sun Aug 23 13:29:18 2009] [notice] Parent: Created child process 4360
PHP Warning: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.3.0/ext/php_pgsql.dll' - The specified procedure could not be found.
in <b>Unknown</b> on line <b>0</b><br />
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libpq.dll' in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Invalid library (maybe not a PHP library) 'libpq.dll' in <b>Unknown</b> on line <b>0</b><br />
[Sun Aug 23 13:29:19 2009] [notice] Child 4360: Child process is running
[Sun Aug 23 13:29:19 2009] [notice] Child 4360: Acquired the start mutex.
[Sun Aug 23 13:29:19 2009] [notice] Child 4360: Starting 64 worker threads.
[Sun Aug 23 13:29:19 2009] [notice] Child 4360: Starting thread to listen on port 80.

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: chonny (213.145.105.---)
Date: September 03, 2009 02:58PM

Same problem here. Is anybody got solution?

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: tlacroix (---.46-70-69.static.videotron.ca)
Date: September 03, 2009 03:03PM

Hi there,


The solution I posted only works with 5.2.9, 5.2.9-1 and 5.2.9-2. Not 5.3.0. Sorry guys. Hopefully this gets fixed in the next Wamp release.

Best,

T

Options: ReplyQuote
Re: cant load pg_sql.dll
Posted by: Mas (196.210.231.---)
Date: October 21, 2009 02:40PM

After searching for long, I found a sollution that works with PHP v5.3.0


Search for the file libpq.dll in "C:\wamp\bin\php\php5.3.0" and copy it to WINDOWS\system32 if you're using WindowsXP. Thats all there is to it.

This apparently does not work with Windows Vista


All credit goes to Jeeba for figuring this out.
[designbyjeeba.blogspot.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.