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

Tue Mar 27 13:15:34 UTC 2012
Leonard den Ottolander <leonard at den.ottolander.nl>

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.

Regards,
Leonard.

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