RH 7.1 Apache PHP4 install problem
| From: | cstranslations | Date: | Mon, 17 Sep 2001 05:09:57 +0000 |
| Subject: | RH 7.1 Apache PHP4 install problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4316@lists.php.net to get a copy of this message | ||
I'm new to Lunix and am trying to get Apache/PHP4 working. This is under
Redhat 7.1. I've downloaded Apache 1.3.20 and PHP 4.0.6 source(s). I've been
reading "Lunix Apache Web Server Administration" (Aulds) and "Professional
PHP Programming" (Castagnetto, Rawat, Schumann, Scollo, Veliath) chap 2.
Been going around in circles for a couple days with no joy. What I've
attempted is roughly along these lines (typing this longhand):
cd /usr/local/src
tar -xvf /root/apache_1.3.20.tar
tar -xvf /root/php-4.0.6.tar
cd apache_1.3.20
./configure --prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max
cd ../php-4.0.6
./configure --with-apache=../apache_1.3.20
make
make install
cd ../apache_1.3.20
./configure --active-module=src/modules/php4/libphp4.a \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max
make
make install
Everything seems to go O.K but...
httpd -l gives me:
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
(and I of course end up with PHP script in the browser). Date/time on httpd
is what I expect.
Can someone out there tell me what I'm doing wrong????
TIA
Joe