Comment 14 for bug 11617

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 3 Jan 2005 16:42:37 -0800
From: Steve Langasek <email address hidden>
To: Hans Spaans <email address hidden>, <email address hidden>
Cc: Wiesiek <email address hidden>
Subject: Re: Bug#288410: libapache2-mod-php4: Support for Postgresql seems to be missing

--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 03, 2005 at 08:51:53PM +0100, Hans Spaans wrote:
> >So try as Andreas say:
> >If so, is the line
> >"extension=3Dpgsql.so" in your /etc/php4/apache2/php.ini?

> >try restart apache too. It woks for me.

> Yes its now in the file, it wasn't before and I was surprised. Pgsql=20
> worked before and with this config, and other modules like imap and=20
> mysql aren't also in the php.ini but do work. That was the point where I=
=20
> was misled.

> And yes I had restarted apache2, I even rebooted the machine as I=20
> normally do with the weekly upgrade of Sarge on that machine.

If the extensions are not listed in php.ini but you're able to use them,
this is only because your application uses the dl() function to load them
opportunistically. This is good practice.

If pgsql was not usable because it was not listed in php.ini, it is because
the application did not make opportunistic use of the extension but expected
it to be preloaded in the PHP config. This is standard practice.

Since reinstalling the package gave you the correct results, I think the
only possible bug here is #264064 (php4-pgsql installed before
libapache2-mod-php4 does not configure), which is not grave.

--=20
Steve Langasek
postmodern programmer

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB2eZ7KN6ufymYLloRApy5AKCswHejWE54yqb+HZEbiLaKCMUdCgCfV/nX
93FF5/fYux7Ep6iGDgy6Mw8=
=SJw3
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--