[Linux-bruxelles] PHP et Suse 7.3

Frederico Lopes frederico at linuxmail.org
Mar 15 Oct 14:01:39 CEST 2002


----- Original Message -----
From: "Serge Smeesters" <serge.smeesters at sesa.ucl.ac.be>
Date: Tue, 15 Oct 2002 13:15:23 +0200 
To: <linux-bruxelles at lists.bxlug.be>
Subject: Re: [Linux-bruxelles] PHP et Suse 7.3


> > J'ai installé sur une suse 7.3 les paquetages pour faire tourner le php
> > mais ca ne marche pas lorsque je fais une page de test
> >
> > exemple
> >
> > <?
> > phpinfo();
> > ?>
> >
> > le code source est visible et donc je sens que php ne tourne pas
> > meme si au redemarrage d apache il met bien
> >
> > Startind http ( PHP )  .......... Done
> >
> > quelqun a deja eu le cas avec une suse ?
> 
> Peut-ĂȘtre :
> 
> http://groups.google.com/groups?hl=fr&lr=&ie=UTF-8&oe=utf-8&threadm=006101c2056a%243b1417c0%243627a8c0%40expertitalia.it&rnum=31&pre
> v=/groups%3Fq%3Dsuse%2B%25227.3%2522%2Bphp%2Bapache%2Binstall%26hl%3Dfr%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26scoring%3Dd%26start%3D30
> %26sa%3DN
> (Houla, c'est long :)
> "
>    ... you have to add these lines of code into http.conf file
> 
>      # And for PHP 4.x, use:
>      #
>      <IfModule mod_php4.c>
>      AddType application/x-httpd-php .php
>      AddType application/x-httpd-php .php4
>      AddType application/x-httpd-php-source .phps
>      </IfModule>
> 
> , add these lines into the file mod_php4 under ../http/modules
>      Variable:HTTPD_SEC_MOD_PHP
>      LoadModule:LoadModule php4_module /usr/lib/apache/libphp4.so
>      AddModule:AddModule mod_php4.c
>      Text:PHP4
> 
> and place the module file "libphp4.so" under the exact path.
> 
> The last problem is to recompile apache specifing to implement PHP4
> functionality.
> I suggest you to read how to recompile your Apache with this option into
> the Apache's man page.
> "
>
Un peut hard tout ca a mon niveau les compilations
je confirme j ai bien ca
# And for PHP 4.x, use:
>      #
>      <IfModule mod_php4.c>
>      AddType application/x-httpd-php .php
>      AddType application/x-httpd-php .php4
>      AddType application/x-httpd-php-source .phps
>      </IfModule>

et ca je l ai aussi 

Variable:HTTPD_SEC_MOD_PHP
>      LoadModule:LoadModule php4_module /usr/lib/apache/libphp4.so
>      AddModule:AddModule mod_php4.c
>      Text:PHP4



-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze




Plus d'informations sur la liste de diffusion Linux-bruxelles