CGI and Apache install!
| From: | David Tandberg-Johansen | Date: | Tue, 20 Nov 2001 00:46:01 +0000 |
| Subject: | CGI and Apache install! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5034@lists.php.net to get a copy of this message | ||
Hello!
I am working on a RH 6.2 box and i try to install and configure PHP 4.0.6 as
CGI and as and Apache module.
I have all the PHP files in /usr/local/install/php-4.0.6
There I try to configure as follows:
#FOR CGI
./configure \
--prefix=/usr/bin \
--with-exec-dir=/usr/bin/php/bin \
--with-mysql=/usr/local
make
make install
#This work ok until i do..
#FOR APACHE
./configure \
--prefix=/usr/local \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd/conf \
#AND OTHER CONFIGURATIONS
--with-mysql=/usr/local
make
make install
WHy and how can I do it?
David