You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rabea Husseis <hu...@hotmail.com> on 2002/06/10 20:14:59 UTC

Re: R�f. : Re: R�f. : R�f. : Re: compiling PHP

Hi...

First Compile PHP with Apache support
from PHP folder

$./configure --with-apache=/Path-to-your-Apache-files
$make
$make install


Then recompile Apache
>From apache folder
$./configure --prefix=/Your-path 
--activate-module=src/modules/php4/libphp4.a
$make

Then copy "php.ini-dist" from php4.2.1 directory to /usr/local/lib/php.ini

$cd ../php-4.2.1
$cp php.ini-dist /usr/local/lib/php.ini

$cd ../apache-1.3.22
$make install

Then edit your httpd.conf file, Unmark

AddType application/x-httpd-php .php

Hope it will work.

B/Rgrds
Rabea


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org