Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 2051 - PHP3 is not compiled with support for databases
PHP3 is not compiled with support for databases
Product: Red Hat Linux
Classification: Retired
Component: mod_php3 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-04-08 03:59 EDT by ipaul
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-05-26 11:43:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ipaul 1999-04-08 03:59:14 EDT
I have installed mod_php3 and configured apache for it and
it works fine.
But when I try to conect to some databases it report some
errors (I have tried postgresql, sybase, mysql, oracle and
none of them have worked.).
It seems that mod_php3 is not compiled with support for
Please correct this.
Comment 1 Preston Brown 1999-04-08 10:35:59 EDT
Which database people have is highly subjective.  For this reason, if
someone is using a database backend with php3, they should rebuild the
RPM with support for that particular database enabled.
Comment 2 ipaul 1999-04-13 03:08:59 EDT
I realize that there are many databases under linux, but maybe there
should be compiled in PHP3 at least support for PostgresQL which ships
with RedHat.
Comment 3 Preston Brown 1999-04-13 14:26:59 EDT
If we did link against postgresql or something like that, people who
wanted to use the mod_php3 module would be *forced* to install
postgresql on their system, even if they didn't want to use it, to
satisfy the dependencies.

There are two solutions, neither of which is going to make it for 6.0:

1. have a number of subpackages to mod_php3 with different databases
supported in each subpackage.  Messy, large, but effective
2. get the mod_php3 people to dlopen database libraries, so new ones
can be added at runtime instead of compile time.  This is the real
solution.  Complain to the php3 people.

For now, people wanting database support more extensive than gdbm will
have to recompile.  Not the best solution, I know.
Comment 4 Preston Brown 1999-05-26 11:43:59 EDT
We will be making available php-3.0.8 as an update for Red Hat Linux,
which will include PostgreSQL support out of the box.
Comment 5 mcornick 1999-05-27 14:00:59 EDT
PostgreSQL didn't make it into mod_php3-3.0.8-1 due to a typo in the
spec file. The correct option to configure is --with-pgsql, not
Comment 6 emarshal 1999-06-08 19:40:59 EDT
Someone might want to update the errata page, since it indicates that
the stock RPM provides PostgreSQL support, which it clearly doesn't.

Note You need to log in before you can comment on or make changes to this bug.