[CentOS] Problem with PHP / Postgresql on CentOS6.2

Leonard den Ottolander leonard at den.ottolander.nl
Tue Mar 27 09:15:34 EDT 2012

Hello Rudinei,

On Tue, 2012-03-27 at 09:49 -0300, Rudinei Dias wrote:
> I have instaled a WEB server with Postgresql on CentOS 6.2.
> PostgreSQL, versin 9.1.3 x64 from EntrrpriseDB base *.run*.

> PostgreSQL an APACHE runs normal and PHP does not recognize
> php_pgsql/pdo_pgsql.
> How i fix this mess?

By not mixing dependent packages from different repos, unless you are
prepared to fix and rebuild them.

Is there any reason you cannot use the postgresql distributed with the
distro? If you do have to use a more recent version it's usually the
easiest approach to either use a Fedora SRPM or to use the RHEL SRPM and
pop in a more recent tarball. In either case you might have to fix the
SPEC file to remove stale patches, update/fix dependencies etc. YMMV.


mount -t life -o ro /dev/dna /genetic/research

More information about the CentOS mailing list