[SOLVED] Compiling PHP 4 on localhost on apache2 and apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
macunkie
Forum Newbie
Posts: 7
Joined: Sun Jun 27, 2004 4:03 pm
Location: Vegas

Compiling PHP 4 on localhost on apache2 and apache 1.3.29

Post by macunkie »

I have both apache2 and apache 1.3.29 installed at /usr/local

My oringinal installation of PHP4 includes:

--with-apxs2=/usr/local/apache2/bin/apxs \

PHP4 works fine with apache2. I want to recompile so PHP4 works
with apache 1.3.29. My question is :

Can I use in my ./configure both:

--with-apxs2=/usr/local/apache2/bin/apxs \
and
--with-apxs=/usr/sbin/apxs

Will both directives work in the configuration?

thanks,

Solved: The answer is NO. When compiling php4 I needed to include either --with-apex="etc,..." OR -- --with-apxs2="etc,..."

NOT BOTH.
macunkie
Forum Newbie
Posts: 7
Joined: Sun Jun 27, 2004 4:03 pm
Location: Vegas

SOLVED

Post by macunkie »

Solved: The answer is NO. When compiling php4 I needed to include either --with-apex="etc,..." OR -- --with-apxs2="etc,..."

NOT BOTH.
Post Reply