Hi. I'm using Apache which is included in the Linux Mandrake 7.1 distribution. Is there a way to install PHP to work with this version of Apache? The only way I know how to install apache+php+mysql is with the following procedures:
Uncompress the three packages.. *.tar.gz to desired directory
In Apache src directory (apache_1.3.12/)
./configure --prefix=/usr/local/apache
In PHP src directory (php-4.0b3/)
./configure --with-mysql \
--with-apache=../apache_1.3.12 \
--enable-track-vars
make
make install
In Apache src directory (apache_1.3.12)
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
make
make install
Then, configure php.ini and httpd.conf (specifically the AddType application/x-httpd-php .php)
That's it. Everything will work properly from here. However, when I can't figure out how to install PHP to work with the default apache that comes with the mandrake package. Please help me.