Will you be so kind to tell me why the sysytem can't load the PostgreSQL extension for PHP? In php.ini I write:
extension=php_pgsql.dll
But when I reboot, I get this warning:
Unable to load dynamic library: C:/PHP/exe\php_pgsql.dll.
There ar开发者_开发技巧e no problems with other extensions.
First, make sure php_pgsql.dll actually exists in c:\php\ext. If so, then you are likely missing libpq.dll, or Windows is unable to locate it at run-time.
libpq.dll should be in c:\php, and c:\php should be part of the PATH system variable.
Using dependancy walker, you can open php_pgsql.dll and see what DLL's it depends on to load and which ones Windows is unable to automatically find.
精彩评论