Configuration related to PhP and PostgreSQL development

Source: Internet
Author: User

PHP configuration modification:

In the php. ini file

; Extension = php_pdo_pgsql.dll

; Extension = php_pgsql.dll

The semicolon above is logged out.

Check whether the path of extension_dir = "./EXT/" is correct (the path is used to load the. dll file in PHP ).

 

Postgresql service configuration:

C: \ Program Files \ PostgreSQL \ 8.4 \ data \ pg_0000.conf

Add the listening IP address in # IPv4 local connections:
Host All all 127.0.0.1/32 MD5
Host All all 192.168.0.216 MD5

 

PHP and PostgreSQL development materials

References:

Http://www.phpchina.com/html/03/t-73503.html

Http://wenku.baidu.com/view/99fbb86fb84ae45c3b358ce9.html

Http://php.chinaunix.net/manual/zh/ref.pgsql.php

Related Article

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.