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
Message-ID: <email address hidden> mod-php4: Support for Postgresql seems to be missing
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-
--ReaqsoxgOBHFXBhH Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Mon, Jan 03, 2005 at 08:51:53PM +0100, Hans Spaans wrote: 3Dpgsql. so" in your /etc/php4/ apache2/ php.ini?
> >So try as Andreas say:
> >If so, is the line
> >"extension=
> >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 pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
ufymYLloRApy5AK CswHejWE54yqb+ HZEbiLaKCMUdCgC fV/nX GDgy6Mw8=
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB2eZ7KN6
93FF5/fYux7Ep6i
=SJw3
-----END PGP SIGNATURE-----
--ReaqsoxgOBHFX BhH--