View Tutorial Metadata Edit Content Revision History Add to Watchlist Add New Tutorial Make Apache to interpret PHP with a custom extension

Make Apache to interpret PHP with a custom extension

You can add a new extension to be interpreted as PHP by writing this line in your .htaccess file :

AddHandler application/x-httpd-php5 .asp

which will make the .asp files be interpreted as PHP (you can do this for any extension you want, even .htm and .html)

Only plain text supported.

Optional

Required - will be kept private

Optional

 
 

Rating: (0+, 0-) In: Apache