|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-05-03 16:09 UTC] ionut dot stan at yahoo dot com
Description: ------------ I have just downloaded PHP 5.2.6 and installed it from the zip archive. Enabling the following in php.ini caused a strange error: Minimum modifications to php.ini for reproducing: extension=php_pdo_pgsql.dll extension=php_pgsql.dll Error: a pop-up that says: "php.exe Unable to load component. This application has failed to start because LIBPQ.dll was not found. Re-installing the application may fix the problem." I then tried PHP 5.2.5, maybe was something with my OS. Aparently this one works, with the same php.ini. One more try was to replace the .dll-s in the 5.2.6 installation with the ones in 5.2.5. This works too. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 05:00:01 2025 UTC |
I have also experienced this problem (Apache 2.2 with PHP 5.2.6 on Windows XP Pro 32-bit). I have found another workaround that may be simpler if your PostgreSQL 8.3 is on the same system as your PHP installation: Simply add your PostgreSQL bin directory ("C:\Program Files\PostgreSQL\8.3\bin" on my system) to your system path. Same effect as copying the necessary libraries to your PHP directory, but perhaps easier to maintain (especially once a fix is found for this problem).