You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by es...@epnet.com.ar on 2002/06/09 17:47:06 UTC

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

Hi:

The sequences to install Apache + PHP that I have use is this:

1) ./configure (in apache directory)
2) go to PHP directory and do ./configure (including the modules that you want activate)
3) make (PHP)
4) make install (PHP)
5) go back to your apache directory and do ./configure activating your PHP module (first check that libphp4.a exists.. if not, copy it from /php/libs )
6) make your apache
7) make install Apache.

Goodd Luckk!!
if you have problems.. tell me!!!

Good byeee!!
Esteban

Abdel.ramli@mpsa.com  :

> Do I have to put libphp4.a in the right path place first before compiling
> 
> I' m doing
> 
> ./configure --prefix=/soft/apa --enable-module=/src/modules/php4/l
> ibphp4.a
> 
> (making sure /src/modules/php4/libphp4.a exists at this location
> 
> and while compiling Apache it keeps saying :
>  + using installation path layout: Apache (config.layout)
> eval: module_/src/modules/php4/libphp4.a=yes: not found
> 
> 
> 
> 
> Thanx
> 
> 
> 
>                                                                                 
>                                                 
>                     abdel.ramli@mp                                              
>                                                 
>                     sa.com               Pour :  users@httpd.apache.org
>                                                          
>                                          cc :                                   
>                                                 
>                     10/06/2002           Objet : Réf. : Re: compiling PHP       
>                                                 
>                     16:08                                                       
>                                                 
>                     Veuillez                                                    
>                                                 
>                     répondre à                                                  
>                                                 
>                     users                                                       
>                                                 
>                                                                                 
>                                                 
>                                                                                 
>                                                 
> 
> 
> 
> 
> 
> 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 :  &lang=es">users@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
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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