PHP pages asking for download

If your .php files are prompting for download on browsing, make sure PHP is compiled with Apache and you have following lines in your Apache configuration file

AddHandler application/x-httpd-php .php .html

You can also add the above line in your .htaccess file of the domain.

This entry was posted on Sunday, October 4th, 2009 and is filed under Linux Administration. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.