What's new

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Welcome to the new site. New looks, more of a classic retro vibe. I am working on moving content from the old site to here. Many things will not be directly moved and will be added slowly over time. Such as downloads and images. The old site and its content will be available from beta.throneofgeeks.com for a while. Furthermore I have decided to completely get rid of ads as it only slows down the site. If you want to support what I do and the free internet you can buy me a coffee. Thanks! //Sirmadsen

Change PHP version using .htaccess

Sirmadsen

Administrator
Staff member
Admin
Moderator
Member
Joined
Jan 12, 2022
Messages
48
In order to change the PHP version using the .htaccess file simply put this one piece of code on a new line. In this example we set the version to 8.2. Just change the code to your fitting. Don't use dot between version numbers. So for example 8.2 is set by using just 82.

Code:
AddHandler application/x-httpd-alt-php82 .php .php5 .phtml
 

Don't Miss

Back
Top Bottom