[Techtalk] Apache & PHP configure tips needed

Brenda Bell k15a-list-linuxchix at theotherbell.com
Thu Mar 13 23:17:39 EST 2003


Quoting Beth Johnson <linux.chick at verizon.net>:

> Hi there,
> I've given up trying to get Apache 2.0.4X to work with PHP on my
> RedHat
> 8.0 systems.

I've had great success with Apache/PHP running on Drake 8.2.  I have
one box with Apache 2.0.43/PHP 4.2.3 and another box with Apache
2.0.44/PHP 4.3.1.

> Instead, after looking at the tangled headache of the rpm route
> for
> Apache 1.3.27 on Psyche (or should I say, Psycho) I've decided
> that
> installing from tarballs is probably the best route for both Apache
> and
> PHP.

I did tarballs and didn't have any trouble.

> Now, the question is, what --configure options do I want for Apache
> and
> PHP?  I need Apache to work with PHP, of course, and MySQL and
> PostgreSQL. I'm open to suggestions of other useful things to build
> in.
> I have Apache 1.3.27 and PHP 4.3.1 tarballs.

If you decide to go with tarballs, the first thing you'll want to do
is go through the INSTALL files for both products -- particularly for
PHP -- before you do anything else.

FWIW, I decided to run PHP as a module... I first configured and built
Apache with --enable-cgi --enable-so.  Then I configured and built PHP
with --with-apxs2=/path/to/apxs --with-mysql, and pretty much followed
the procedure in the PHP INSTALL file for running PHP as a module.

-- 
Brenda
http://opensource.theotherbell.com



More information about the Techtalk mailing list