[ms4w-users] PHP access to PostgreSQL

Raj Singh rajsingh at MIT.EDU
Wed Jan 5 23:35:15 EST 2005


That did the trick. Thanks!

Jeff McKenna wrote:
> Hi Raj,
> 
> You need to load PHP's postgres extension...by putting the following in 
> your PHP scripts:
> 
>    if (!extension_loaded("pgsql"))
>    {
>       dl("php_pgsql");
>    }
> 
> or you can optionally change your php.ini file (~line573) to load this 
> extension by default.
> 
> 
> 
> jeff
> 
> 
> 
> 
> Raj Singh wrote:
> 
>> I'm building an application that requires my PHP code to connect to 
>> postgresql. It doesn't look like the version of PHP that's part of 
>> MS4W 1.0.3 includes postgresql support. Is this true?
>>
>> thanks,
>> Raj
>>
> 
> 


More information about the ms4w-users mailing list