- 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