PHP cannot support pgsql under Windows, how to solve

Source: Internet
Author: User
Tags apache error log
PHP cannot support pgsql under Windows
Beginner PostgreSQL, want to install a test in this machine, the environment for Windows XP + Apache2 + php5 (5.2.6) + postgresql8.4. Everything is installed normally, but when you load the Phppgadmin test again, the "your PHP There is no full database support in the. The Apache error log is "PHP warning:php startup:unable to load Dynamic library ' C:/php/ext/php_pgsql.dll '". To search for solutions on the web several times, the following actions have been completed:
1, modify the php.ini
2, confirm C:\php\ext\ under Php_pgsql.dll existence
3, modify the PATH environment variable, added the PostgreSQL bin directory
4, put the Libpg.dll into the Windows\System32
5. Restart Apache multiple times
In this way, or not, ask each expert, the problem in the end where? Thank you very much!
Sorry, the only point points have been exhausted, so we have to ask you to support a lot.

------Solution--------------------
CMD, CD to PHP directory, and then run PHP under CMD to see the hint, but what lib it will prompt you, need what to pgsql under Cpoy to Windows\System32 under, you only copy a libpg.dll is not enough, as if copying good multiple
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.