Recent Changes - Search:




Main.PHPInstallation History

Hide minor edits - Show changes to output

Added lines 1-37:
%red%PHP as a dynamic shared object module.

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

%blue%Make sure that /etc/ contains:

%blue%Installing PHP4 As a DSO.

For this to work apache must have the mod_so enbled

#httpd -l should have mod_so.c

%blue%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>

%blue%To begin php configuration.

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

%blue%Add the following line to httpd.conf file.

AddType application/x-httpd-php .php

LoadModule php4_module modules/

%blue%Restart Apache webserver.

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