You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ab...@mpsa.com on 2002/06/11 09:33:19 UTC

Réf. : Re: Réf. : Re: Réf. : Réf. : Re: compiling PHP

Hi all
Can anyone please help me identify the problem causing the error message
while making apache :

Thanx



anlib libstandard.a
<=== src/modules/standard
===> src/modules/php4
make[4]: *** No rule to make target `all'.  Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/soft/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/soft/apache_1.3.22'
make: *** [build] Error 2

____________________________________|



                                                                                                                                  
                    "Rabea Husseis"                                                                                               
                    <husseis_amm@ho       Pour :  users@httpd.apache.org                                                          
                    tmail.com>            cc :                                                                                    
                                          Objet : Re: Réf. : Re: Réf. : Réf. : Re: compiling PHP                                  
                    10/06/2002                                                                                                    
                    20:14                                                                                                         
                    Veuillez                                                                                                      
                    répondre à                                                                                                    
                    users                                                                                                         
                                                                                                                                  
                                                                                                                                  




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





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