Enabling Postgres support
Posted: Mon Jul 23, 2007 9:40 am
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
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