Jump to content

.php => .php5


yarnold

Recommended Posts

Hi all

 

At the moment, my client's web host only supports PHP5 when using .php5 as the file extension.

 

For the moment I have worked around this by using .htaccess to rewrite .php to .php5.

 

However, this means that whenever I upload the site to the server, I must go through all of the files directly accessed and change the file extensions to .php5.

 

I was wondering if there is a line I could put into .htaccess to make apache "think" that .php extension files ARE .php5?

 

Cheers for any help

 

Ed

Link to comment
https://forums.phpfreaks.com/topic/61997-php-php5/
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.