[ubuntu-za] Postgres issue

Alf Stockton alf at stockton.co.za
Wed Apr 22 12:05:31 BST 2009

David Rubin wrote:
> 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
Thank you David. I had missed the php5-pgsql.

Alf Stockton		www.stockton.co.za

The secret source of humor is not joy but sorrow; there is no humor in Heaven.
		-- Mark Twain

More information about the ubuntu-za mailing list