Jump to content

Changing file extension


christianmatthew

Recommended Posts

This is kind of a tricky one...

How do I change apache to accept a different file extension for php.

Example:
I want a file named index.boo or something, but apache doesn't understand it as php and shows the code like a text file.

How do I make it register different extensions, as well as keep .php as one of those extensions.  (so I can have both index.php and index.boo)

I've seen this done before, just can't find anywhere on how to do it.
Link to comment
https://forums.phpfreaks.com/topic/25849-changing-file-extension/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.