[ubuntu-za] Postgres issue

David Rubin davidrub at gmail.com
Wed Apr 22 11:33:22 BST 2009

Alf Stockton wrote:
> I have apache2, php & postgres installed on my Ubuntu 8.04 
> server(www.stockton.co.za).
> I can successfully run php scripts via the internet(see 
> www.stockton.co.za/info.php) but even though I have edited php.ini to include 
> postgres I cannot see it in the info.php as well as not be able to run scripts 
>   that connect to postgres.
> I did remember to restarted Apache2.
> I must have forgotten something else but if someone could point me to what it 
> is I would be grateful
Have you installed  php5-pgsql I am not 100% sure if installing that
also re-loads your apache mods. if just installing it doesn't work I
suggest trying.

sudo /etc/init.d/apache2 restart

~ David


More information about the ubuntu-za mailing list