There have been several issues with the PHP 5.2.6 windows binary build, I would suggest backtracking to 5.2.5 if there are no other patch issues relevant to your use of the software on your Windows XP installation, or using a combination of the dlls found in the 5.2.5 binary release for the pgsql support. Please see: http://bugs.php.net/bug.php?id=44905 Unfortunately we have not had consistent success using the workarounds described in the above bug thread, and the issue does not get a lot of spotlight so it can be difficult and time-consuming for many individuals to recognize. HTH, Jason Minion jason.minion@xxxxxxxxxx -----Original Message----- From: pgsql-php-owner@xxxxxxxxxxxxxx [mailto:pgsql-php-owner@xxxxxxxxxxxxxx] On Behalf Of Brew Sent: Wednesday, June 25, 2008 9:21 AM To: roche magsayo Cc: pgsql-php@xxxxxxxxxxxxxx Subject: Re: [PHP] WAPP - Can't connect to PostgreSQL using PHP Roche..... Try a brief script calling the phpinfo(); function to see if the module to give php pgsql support is loaded. Since mysql works you should see one called mysql - there should be another called pgsql or similar. brew On Wed, Jun 25, 2008 at 2:38 AM, roche magsayo <rtmsoft@xxxxxxxxx> wrote: > Hello Everyone, > > I am novice in using PostgreSQL 8.3.1, PHP 5.2.6, and Apache 2.2.9 but > I manage to installed it in my Windows XP Pro laptop. However, when I > my test my Apache installed its work. For PHP, it also work and i can > even connect to MySQL database installed also in my laptop. But, when > I write a simple code to connect to PostgreSQL it does not work. Does > anyone help me. Thank in advance. > > -- > Roche Tumlad Magsayo > rtmsoft@xxxxxxxxx > rtmsoft@xxxxxxxxx > > -- > Sent via pgsql-php mailing list (pgsql-php@xxxxxxxxxxxxxx) To make > changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-php > -- Strange Brew (brew@xxxxxxxxxxx) Check out my Stock Option website http://www.callpix.com and my Musicians Free Classified http://www.TheMode.com -- Sent via pgsql-php mailing list (pgsql-php@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-php