Recent Changes - Search:

Softwares

.

PHPInstallation

PHP as a dynamic shared object module.

Make sure that location of the shared libraries are listed in /etc/ld.so.conf

Make sure that /etc/ld.so.conf contains:

                          /usr/local/lib/mysql

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
             #make install

Add the following line to httpd.conf file.

             AddType application/x-httpd-php .php

             LoadModule php4_module          modules/libphp4.so

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