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/10 16:08:50 UTC

Réf. : Re: compiling PHP

Thanx Esteban

do I have to configure PHP first ? and then Apache ?

Does the '--activate-module=src/modules/php4/libphp4.a'  have to point to
the php path
This means I have to install php first.
and ten configure apache as the following

./configure --activate-module=src/modules/php4/libphp4.a


Thanx fr your help






                                                                                                                                 
                    esteban@epnet.                                                                                               
                    com.ar               Pour :  <us...@httpd.apache.org>                                                        
                                         cc :                                                                                    
                    09/06/2002           Objet : Re: compiling PHP                                                               
                    15:42                                                                                                        
                    Veuillez                                                                                                     
                    répondre à                                                                                                   
                    users                                                                                                        
                                                                                                                                 
                                                                                                                                 




Hi,

Do you compile apache with PHP module?? if not, you have to add this "
--activate-module=src/modules/php4/libphp4.a" when you configure apache.

If you have done that, and it doesn´t work you should verify that you have
activated the PHP application type in the httpd.conf.
You have to add something like this: "AddType application/x-httpd-php .php
.phtml .php3"

Byess!
Esteban

Abdel.ramli@mpsa.com  :

> Dear all,
>
> I've compiled and installed Apache and am trying now to carry on with PHP
> module on my Linux Redhat system
>
> While the confiure and installs steps seems to be ok, PHP pages are not
> displayed nor reconized, a download widows appears when trying to view
> them.
> I guess it is my httpd.conf which is not configured right but after the
PHP
> installation, I just can't find the libphp4.so anywhere on my system and
> therefore trying to point to it on httpd.conf gets an error message while
> restarting apache
> Is it normal that PHP install doesn't create the  libphp4.so file
required
> by Apache
>
>
> Thanx all for ur help
>
>
> Abdel,
>
>
>
>
> ____________________________________
> Abdel RAMLI
> abdel.ramli@mpsa.com
> Consultant Altaïr Technologies
> PSA Peugeot Citroën | site de Bessoncourt
> Unité: DINQ/DSIN/INSI/ETSO/PRD
> Tel : 03 84 46 92 79 (229279)
> ____________________________________|
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



___________________________________
NOCC, http://nocc.sourceforge.net



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