apache - Can I change the accepted extensions by PHP? -


I would like to accept other types of files that contain PHP code. For example, to read .aspx file by PHP It would be good to have it .php.

To make HTML Parse as PHP, add it to your .htaccess file in Apache: / P>

  AddType application / x-httpd-php .html  

You can extrapolate what you need to do from there: -)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -