Enabling Postgres support

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jvvw
Forum Newbie
Posts: 1
Joined: Mon Jul 23, 2007 9:33 am

Enabling Postgres support

Post by jvvw »

Hi there,

I've got a Linux server with an Apache and PHP installation on it that I want to enable Postgres support for. The only instructions I've managed to find for this involve compiling PHP with a specific flag. Is this the only way to enable support? I've no idea if the version of PHP I'm using was compiled appropriately or not (or how to find out). I've tried commenting out the postgres link in the extension section of the php.ini file and restarting Apache, but phpinfo still doesn't show anything about Postgres.

If I do have to recompile PHP, what's the safest way to do this given that this is a live server with sites already on it that are in use? I've never compiled PHP from scratch let alone recompiled it :-)

Any help very gratefully appreciated!

Thanks,

Juliette
Post Reply