Recent Changes - Search:




PHP as a dynamic shared object module.

Make sure that location of the shared libraries are listed in /etc/

Make sure that /etc/ contains:


Installing PHP4 As a DSO.

For this to work apache must have the mod_so enbled

                       #httpd -l       should have mod_so.c

Starting the install process

Login as root and then choose the create the directory /php4 copy the php file to the location and then ..

                      #gunzip php-4<version>
                      #tar -xvf php-4<version>
                      #cd php4-<version>

To begin php configuration.

             #./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
             #make install

Add the following line to httpd.conf file.

             AddType application/x-httpd-php .php

             LoadModule php4_module          modules/

Restart Apache webserver.

             /usr/local/apache2/bin/apachectl restart
Edit - History - Print - Recent Changes - Search
Page last modified on January 28, 2006, at 07:00 AM