[Techtalk] re:Installing PHP with Apache

root oleunam at telefonica.net
Sat Jan 31 16:49:55 EST 2004


Here is what i did:

APACHE CONFIGURATION (httpd-2.0.47):
./configure --prefix=/usr/local/apache2 --enable-rewrite=shared 
--enable-so ...

PHP CONFIGURATION (php-4.3.3):
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql....

Then in httpd.conf add the lines
LoadModule php4_module        modules/libphp4.so
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps

And start working!

Saludos

Manel


More information about the Techtalk mailing list