On Thu, Feb 10, 2005 at 08:23:58AM +0100, Sven Schwyn wrote: > Package: libapache-mod-php4 > Version: 4.3.10-3
> Package: php4_pgsql > Version: 4.3.10-1 (<-- sic!) > After the latest dist-upgrade of debian unstable, php4_pgsql (which has > a lower version number than the other php4 items!) was uninstalled. > Reinstalling it works fine, but you can't connect a Postgres DB from > PHP even after installation. I'm using the DB classes of PEAR which > return a "cannot connect to database" error. Please test this using the pg_ function calls directly so that we can confirm the exact error coming from the pgsql driver. Also, please confirm that the output of grep ^extension /etc/php4/apache/php.ini lists pgsql.so. > The Postgres log shows no attempt of connecting. And phpinfo() > claims --without-pgsql. > Can it be that libapache-mod was compiled without pgsql support this > time? libapache-mod-php4 is *always* compiled without pgsql support, that's why there's a separate package. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature