.htaccess makes php files downloadable
Posted
by arik-so
on Stack Overflow
See other posts from Stack Overflow
or by arik-so
Published on 2010-04-16T18:39:45Z
Indexed on
2010/04/16
18:43 UTC
Read the original article
Hit count: 289
I have an .htaccess file with following content:
AddHandler x-httpd-php5 .php
For some reason, whenever I upload it to the server, Firefox then wants to download PHP files instead of showing them, I think the Apache server has some error. What's wrong?
Thanks in advance ^^
© Stack Overflow or respective owner