Re: Trying to use PGSql with PHP

From: Frank Joerdens <frank(at)joerdens(dot)de>
To: Adam Haberlach <adam(at)newsnipple(dot)com>
Cc: John Tsombakos <johnts(at)ziplink(dot)net>, Frank Joerdens <frank(at)joerdens(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Trying to use PGSql with PHP
Date: 2000-10-08 17:32:17
Message-ID: 20001008193217.A15504@rakete.joerdens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> For a production machine, I typically build and install my entire
> "mission-critical" chain of apps. Postgres, PHP, Apache, etc. This helps
> avoid a few problems: Red Hat may suddenly upgrade to a newly incompatible
> version, or may just change a configuration.

I agree. I'd also compile PHP as a module, rather than rolling it into
the Apache binary. If you find that you, for instance, forgot xml
support, or decide that you suddenly need it, you can just reconfigure
and compile PHP. This is significantly less painful than having to
recompile apache as well. The performance penalty you incur there is
negligible (some people seem to confuse that with compiling PHP as a cgi
binary - this is not recommended and will be much slower).
>
> At a guess, I would say that you are probably missing an .rpm for the
> postgres-client or pgsql-client, but that is based on my view dealings with
> Red Hat.

Yep. That's what it sounds like.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Tsombakos 2000-10-08 17:37:10 Re: Trying to use PGSql with PHP
Previous Message Collin Peters 2000-10-08 17:08:27 Re: SV: Postmaster startup problems