开发者

Php can't find PostgreSQL library allthough it exists in the specified folder

I try to install postgresql server in combination with Xampp's components.

First i installed PostgreSQL with his installer.

Then i've changed in the php.ini

extension=php_pgsql.dll

开发者_JAVA百科

as next i wanted to restart my apache server but i get the error:

PHP Startup: Unable to load dynamic library "C:\xampp\php\ext\php_pgsql.dll". The specified module couldn't be found.

But there exists the file C:\xampp\php\ext\php_pgsql.dll in the right location...

Any ideas, how i can fix this problem?

Thank you very much


On a Windows server, configured with Apache, adding the following line to httpd.conf to load libpq.dll can solve the problem:

LoadFile "C:/Program Files/PostgreSQL/8.4/bin/libpq.dll"


Use the appropriate version of php_pgsql.dll - the version that is compiled for your current php parser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜