Seems something is misconfigured.
Small explaination: the is php4 module for apache, and php-cli, which runs scripts on shell.
Due to this, there are /etc/php4/apache(2)/php.ini, and /etc/php4/cli/php.ini. Booth must contain a line "extension=pgsql.so". Please check this.
Maybee you can give me access to your machine, so I can take a look.
...
---------------------------------------
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
; Example lines:
extension=mysql.so
extension=pgsql.so
;extension=gd.so
---------------------------------------------
...
Is it correct ?
I have no /etc/php4/cli directory !
Conserning a root access :
Can I write you a private mail for that or the best would be a direct talk with you.
Do you have skype account or wengo or gizmo or google talk ?