libapache2-mod-php4: Support for Postgresql seems to be missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php4 (Debian) |
Fix Released
|
Unknown
|
|||
php4 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #288410 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #2 |
Automatically imported from Debian bug report #288410 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #3 |
Message-Id: <email address hidden>
Date: Mon, 03 Jan 2005 17:30:29 +0100
From: Hans Spaans <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libapache2-
Package: libapache2-mod-php4
Version: 4:4.3.10-2
Severity: grave
Justification: renders package unusable
I upgrade to the latest php4/apache2 packages in Sarge but this causes
to php4-scripts to complain about support for postgresql that is
missing. The exact message is:
"Your PHP installation does not support PostgreSQL. You need to
recompile PHP using the --with-pgsql configure option."
With kind regards,
Hans
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (800, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=
Versions of packages libapache2-mod-php4 depends on:
ii apache2-mpm-prefork 2.0.52-3 Traditional model for Apache2
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-17 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libmagic1 4.12-1 File type determination library us
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.7 0.9.7e-2 SSL shared libraries
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii php4-common 4:4.3.10-2 Common files for packages built fr
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#4 |
Hi Hans
Did you try install: php4-pgsql ??
--
I greet
Wieslaw
----- Original Message -----
From: "Hans Spaans" <email address hidden>
To: "Debian Bug Tracking System" <email address hidden>
Sent: Monday, January 03, 2005 5:30 PM
Subject: Bug#288410: libapache2-
missing
> Package: libapache2-mod-php4
> Version: 4:4.3.10-2
> Severity: grave
> Justification: renders package unusable
>
> I upgrade to the latest php4/apache2 packages in Sarge but this causes
> to php4-scripts to complain about support for postgresql that is
> missing. The exact message is:
>
> "Your PHP installation does not support PostgreSQL. You need to
> recompile PHP using the --with-pgsql configure option."
>
> With kind regards,
> Hans
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (800, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.27-1-686
> Locale: LANG=C, LC_CTYPE=C (charmap=
>
> Versions of packages libapache2-mod-php4 depends on:
> ii apache2-mpm-prefork 2.0.52-3 Traditional model for Apache2
> ii libbz2-1.0 1.0.2-1 A high-quality block-sorting
> file
> ii libc6 2.3.2.ds1-18 GNU C Library: Shared
> libraries an
> ii libdb4.2 4.2.52-17 Berkeley v4.2 Database
> Libraries [
> ii libexpat1 1.95.8-1 XML parsing C library -
> runtime li
> ii libmagic1 4.12-1 File type determination
> library us
> ii libpcre3 4.5-1.1 Perl 5 Compatible Regular
> Expressi
> ii libssl0.9.7 0.9.7e-2 SSL shared libraries
> ii mime-support 3.28-1 MIME files 'mime.types' &
> 'mailcap
> ii php4-common 4:4.3.10-2 Common files for packages
> built fr
> ii zlib1g 1:1.2.2-3 compression library - runtime
>
> -- no debconf information
>
>
> --
> To UNSUBSCRIBE, email to <email address hidden>
> with a subject of "unsubscribe". Trouble? Contact
> <email address hidden>
>
>
-------
Najlepsze auto, najlepsze moto... >>> http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <1104771484.
Date: Mon, 03 Jan 2005 11:58:04 -0500
From: Andres Salomon <email address hidden>
To: <email address hidden>
Subject: Re: Bug#288410: libapache2-
to be missing
--=-iDHD/
Content-Type: text/plain
Content-
On Mon, 2005-01-03 at 17:30 +0100, Hans Spaans wrote:
> Package: libapache2-mod-php4
> Version: 4:4.3.10-2
> Severity: grave
> Justification: renders package unusable
>=20
> I upgrade to the latest php4/apache2 packages in Sarge but this causes
> to php4-scripts to complain about support for postgresql that is
> missing. The exact message is:
>=20
> "Your PHP installation does not support PostgreSQL. You need to
> recompile PHP using the --with-pgsql configure option."
>=20
> With kind regards,
Do you have php4-pgsql installed? If so, is the line
"extension=
--=20
Andres Salomon <email address hidden>
--=-iDHD/
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBB2Xmb78o
/e1uZABLPY7szvg
=dnPl
-----END PGP SIGNATURE-----
--=-iDHD/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <00f301c4f1b8$
Date: Mon, 3 Jan 2005 18:20:42 +0100
From: "Wiesiek" <email address hidden>
To: "Hans Spaans" <email address hidden>, <email address hidden>
Subject: Re: Bug#288410: libapache2-
Hi Hans
Did you try install: php4-pgsql ??
--
I greet
Wieslaw
----- Original Message -----
From: "Hans Spaans" <email address hidden>
To: "Debian Bug Tracking System" <email address hidden>
Sent: Monday, January 03, 2005 5:30 PM
Subject: Bug#288410: libapache2-
missing
> Package: libapache2-mod-php4
> Version: 4:4.3.10-2
> Severity: grave
> Justification: renders package unusable
>
> I upgrade to the latest php4/apache2 packages in Sarge but this causes
> to php4-scripts to complain about support for postgresql that is
> missing. The exact message is:
>
> "Your PHP installation does not support PostgreSQL. You need to
> recompile PHP using the --with-pgsql configure option."
>
> With kind regards,
> Hans
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (800, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.27-1-686
> Locale: LANG=C, LC_CTYPE=C (charmap=
>
> Versions of packages libapache2-mod-php4 depends on:
> ii apache2-mpm-prefork 2.0.52-3 Traditional model for Apache2
> ii libbz2-1.0 1.0.2-1 A high-quality block-sorting
> file
> ii libc6 2.3.2.ds1-18 GNU C Library: Shared
> libraries an
> ii libdb4.2 4.2.52-17 Berkeley v4.2 Database
> Libraries [
> ii libexpat1 1.95.8-1 XML parsing C library -
> runtime li
> ii libmagic1 4.12-1 File type determination
> library us
> ii libpcre3 4.5-1.1 Perl 5 Compatible Regular
> Expressi
> ii libssl0.9.7 0.9.7e-2 SSL shared libraries
> ii mime-support 3.28-1 MIME files 'mime.types' &
> 'mailcap
> ii php4-common 4:4.3.10-2 Common files for packages
> built fr
> ii zlib1g 1:1.2.2-3 compression library - runtime
>
> -- no debconf information
>
>
> --
> To UNSUBSCRIBE, email to <email address hidden>
> with a subject of "unsubscribe". Trouble? Contact
> <email address hidden>
>
>
-------
Najlepsze auto, najlepsze moto... >>> http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#7 |
Wiesiek wrote:
> Hi Hans
>
> Did you try install: php4-pgsql ??
>
Yes I did, but the result was negative. I just removed and installed the
package again, and it works again. Does the php4-pgsql package do some
linking or so?
With kind regards,
Hans
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#8 |
Hi
Yes. It is.
So try as Andreas say:
If so, is the line
"extension=
try restart apache too. It woks for me.
--
I greet
Wieslaw
----- Original Message -----
From: "Hans Spaans" <email address hidden>
To: "Wiesiek" <email address hidden>
Cc: <email address hidden>
Sent: Monday, January 03, 2005 8:12 PM
Subject: Bug#288410: libapache2-
missing
> Wiesiek wrote:
>> Hi Hans
>>
>> Did you try install: php4-pgsql ??
>>
>
> Yes I did, but the result was negative. I just removed and installed the
> package again, and it works again. Does the php4-pgsql package do some
> linking or so?
>
> With kind regards,
> Hans
>
>
> --
> To UNSUBSCRIBE, email to <email address hidden>
> with a subject of "unsubscribe". Trouble? Contact
> <email address hidden>
>
>
-------
Najlepsze auto, najlepsze moto... >>> http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Mon, 03 Jan 2005 20:12:04 +0100
From: Hans Spaans <email address hidden>
To: Wiesiek <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#288410: libapache2-
to be missing
Wiesiek wrote:
> Hi Hans
>
> Did you try install: php4-pgsql ??
>
Yes I did, but the result was negative. I just removed and installed the
package again, and it works again. Does the php4-pgsql package do some
linking or so?
With kind regards,
Hans
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#10 |
Wiesiek wrote:
> Hi
>
> Yes. It is.
>
> So try as Andreas say:
> If so, is the line
> "extension=
>
> try restart apache too. It woks for me.
Hi,
Yes its now in the file, it wasn't before and I was surprised. Pgsql
worked before and with this config, and other modules like imap and
mysql aren't also in the php.ini but do work. That was the point where I
was misled.
And yes I had restarted apache2, I even rebooted the machine as I
normally do with the weekly upgrade of Sarge on that machine.
With kind regards,
Hans
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <013e01c4f1ca$
Date: Mon, 3 Jan 2005 20:30:48 +0100
From: "Wiesiek" <email address hidden>
To: "Hans Spaans" <email address hidden>, <email address hidden>
Subject: Re: Bug#288410: libapache2-
Hi
Yes. It is.
So try as Andreas say:
If so, is the line
"extension=
try restart apache too. It woks for me.
--
I greet
Wieslaw
----- Original Message -----
From: "Hans Spaans" <email address hidden>
To: "Wiesiek" <email address hidden>
Cc: <email address hidden>
Sent: Monday, January 03, 2005 8:12 PM
Subject: Bug#288410: libapache2-
missing
> Wiesiek wrote:
>> Hi Hans
>>
>> Did you try install: php4-pgsql ??
>>
>
> Yes I did, but the result was negative. I just removed and installed the
> package again, and it works again. Does the php4-pgsql package do some
> linking or so?
>
> With kind regards,
> Hans
>
>
> --
> To UNSUBSCRIBE, email to <email address hidden>
> with a subject of "unsubscribe". Trouble? Contact
> <email address hidden>
>
>
-------
Najlepsze auto, najlepsze moto... >>> http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Mon, 03 Jan 2005 20:51:53 +0100
From: Hans Spaans <email address hidden>
To: Wiesiek <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#288410: libapache2-
to be missing
Wiesiek wrote:
> Hi
>
> Yes. It is.
>
> So try as Andreas say:
> If so, is the line
> "extension=
>
> try restart apache too. It woks for me.
Hi,
Yes its now in the file, it wasn't before and I was surprised. Pgsql
worked before and with this config, and other modules like imap and
mysql aren't also in the php.ini but do work. That was the point where I
was misled.
And yes I had restarted apache2, I even rebooted the machine as I
normally do with the weekly upgrade of Sarge on that machine.
With kind regards,
Hans
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#13 |
On Mon, Jan 03, 2005 at 08:51:53PM +0100, Hans Spaans wrote:
> >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
> worked before and with this config, and other modules like imap and
> mysql aren't also in the php.ini but do work. That was the point where I
> was misled.
> And yes I had restarted apache2, I even rebooted the machine as I
> 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.
--
Steve Langasek
postmodern programmer
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #14 |
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-
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Mon, Jan 03, 2005 at 08:51:53PM +0100, Hans Spaans wrote:
> >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
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB2eZ7KN6
93FF5/fYux7Ep6i
=SJw3
-----END PGP SIGNATURE-----
--ReaqsoxgOBHFX
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matt Zimmerman (mdz) wrote : | #15 |
Closed as invalid in Debian
Changed in php4: | |
status: | Unknown → Fix Released |
On Mon, 2005-01-03 at 17:30 +0100, Hans Spaans wrote:
> Package: libapache2-mod-php4
> Version: 4:4.3.10-2
> Severity: grave
> Justification: renders package unusable
>
> I upgrade to the latest php4/apache2 packages in Sarge but this causes
> to php4-scripts to complain about support for postgresql that is
> missing. The exact message is:
>
> "Your PHP installation does not support PostgreSQL. You need to
> recompile PHP using the --with-pgsql configure option."
>
> With kind regards,
Do you have php4-pgsql installed? If so, is the line pgsql.so" in your /etc/php4/ apache2/ php.ini?
"extension=
--
Andres Salomon <email address hidden>