Le mar 23/09/2003 � 06:21, Nicolas P�chon a �crit :
>  J'essaye d'installer apache et php et mysql
> j'ai donc fait apt-get install apache
> puis un apt-get install php4
> 
> Mais, lorsque je cr�er un fichier test.php:
> <html> 
> <? 
> echo 'premier test php<br><br>'; 
> phpinfo(); 
> ?> 
> </html> 
> 
> puis:
> $ lynx localhost/test.php
>  
>  Recherche localhost premier
>  Recherche localhost
>  localhost
>  Connexion HTTP � localhost
>  Envoi de la requ�te HTTP
>  Demande achemin�e au serveur. Veuillez attendre
>  HTTP/1.1 200 OK
>  Transfert de donn�es termin�
>  less '/tmp/h5zHtr/L2131-761TMP.php'
>   
>   lynx : fichier de d�part introuvable ou son mode n'est pas reconnu
>   Sortie
> 
> J'ai du oublier quelque-chose non??

Oui, dans httpd.conf, il te manque :

AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

R�gis.

Répondre à