got this error when installing the livesupport-station package :
Fatal error: PostgreSQL PHP extension required and not found. in /opt/livesupport/var/storageServer/var/install/install.php on line 56
PostgreSQL and php4-pgsql are installed on my box, and I got loads oh php scripts working with pgsql. I tried to comment the lines
if(!function_exists('pg_connect')){
trigger_error("PostgreSQL PHP extension required and not found.", E_USER_ERROR);
exit(2);
}
in the install.php file but the install will fail later when trying to create the tables. Don't understand why it cannot find the pg_connect function...
install.php will be executed by php-cgi binary (debian package name php4-cgi), not by the apache module (php4).
With following debian packages it should work fine: www-data@woody:~$ dpkg -l | grep php
rc php4 4.1.2-6woody3 A server-side, HTML-embedded scripting langu
ii php4-cgi 4.1.2-6woody3 A server-side, HTML-embedded scripting langu
ii php4-pear 4.1.2-6woody3 PEAR - PHP Extension and Application Reposit
ii php4-pgsql 4.1.2-4 PostgreSQL module for php4