[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache / php : un ch'tit problème



Salut,

A tout hasard, tu as bien pense a donner a ta page l'extention .php et pas
.html, sinon elle ne sera pas parse par l'interpreteur php (C le but des
lignes que tu a rajoute dans httpd.conf) 

Sylvain
---
Sylvain Ferrand                 Ingenieur systeme
CMAP - Ecole Polytechnique
Route de Saclay, 91128 Palaiseau
01.69.33.46.26   sylvain.ferrand@polytechnique.fr

On Fri, 14 Apr 2000, STB wrote:

> Salut,
> 
> J'ai un souci avec php et apache ! Aucun script en php ne fonctionne alors que
> ça démarre plutôt bien dans les logs : 
> 
> [Fri Apr 14 17:15:46 2000] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/3.0.16
> AuthPostgreSQL/0.7.1 AuthMySQL/2.20 configured -- resuming normal operations
> 
> Un simple script tel que :
> 
> <html><head><title>Exemple</title>
> <body>
> <?php echo "Banzaiiiii, ça marche now !!";?>
> </body></html>
> 
> ne marche pas :(
> 
> Il me semblait que apache n'utilisait plus srm.conf access.conf, et cron.conf
> mais seulement le httpd.conf...?
> 
> Voici ce que j'ai rajouté dans le srm.conf :
> 
> AddType application/x-httpd-php3 .phtml
> AddType application/x-httpd-php3-source .phps
> AddType application/x-httpd-php3 .php
> 
> mais évidement si il n'en tiens pas compte...
> 
> yop,
> Stéf
> 
> P.S : j'ai dejà fait des apache restart ...au cas ou :)
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-french-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: