In windows, php cannot support pgsql. how can this problem be solved?

Source: Internet
Author: User
Tags apache error log
In windows, php cannot support postgresql for postgresql beginners. if you want to install postgresql on your local computer, the environment is windows XP + apache2 + php5 (5.2.6) + postgresql8.4. everything is properly installed, however, if you install phppgadmin to Test windows, php cannot support pgsql.
For postgresql beginners, I want to install one on the local machine for testing. The environment is windows xp + apache2 + php5 (5.2.6) + postgresql8.4. everything is properly installed, but when I install phppgadmin for testing, "Your PHP does not have full database support" is displayed ". The apache error log is "PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php/ext/php_pgsql.dll '". After searching for a solution on the Internet for multiple times, you have completed the following operations:
1. modify php. ini
2. check whether php_pgsql.dll in C: \ php \ ext \ exists.
3. modify the path environment variable and add the bin directory of postgresql.
4. place libpg. dll under windows \ system32.
5. restart apache multiple times
In this case, I still don't know. I would like to ask experts to find out where the problem is? Thank you!
Sorry, only one point has been used up, so we have to ask for more support.

------ Solution --------------------
Under cmd, run cd to the directory where php is located, and then run php under cmd to check the prompt, but what lib will prompt you, what should I go to cpoy under pgsql to windows \ system32, you only copy one libpg. dll is not enough, as if copying 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.