Le mer 10/07/2002 � 06:42, VETSEL Patrice a �crit :
> J'ai install� php3 apache etc .....
> mais lorsque je veux acc�der � une page en php j'obtient une erreur :
> 
> sous mozilla ->
> "You have choosen to download a file of type : application/x-httpd-php from 
> etc ............"
> 
> Que faire ?

Visiblement, tu n'as pas install� php3, mais php4.
En effet, le MIME-Type de php3 est application/x-httpd-php3 
alors que celui de php4 devient: application/x-httpd-php

Tout ce que tu as � faire est de mettre � jour ton httpd.conf ainsi:

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

au lieu de

AddType application/x-httpd-php3 .php3

Certaines applications, comme daCode, ont besoin de l'extension .php3 en
plus car, bien que compatible avec php4, l'extension n'est pas g�r�e et
le conversion de l'extension de tous les fichiers est parfois
fastidieuse...

-- 
Rapha�l SurcouF
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à