At HostPepper, our Linux servers are configured to include the most commonly used modules while ensuring optimal stability and performance.
PHP versions
All PHP web spaces are running the latest version of PHP 7.4, which is the version we recommend.
We always make sure your site is running the recommended and most compatible PHP-version. We do not recommend to change the version.
Change PHP version
If you want to change the PHP-version anyway, it can be done by adding the following directive to your .htaccess file.
You can access the .htaccess-file through our File Manager or using FTP. The file has to be named .htaccess. If the file does not exist, you can just create one.
Upgrade to the latest stable PHP version.
Would you like to always use the latest PHP version, with the pro and cons this bring, you can add the following line to your web hotels .htaccess-file:
AddType application/x-httpd-php-latest .php
PHP 8.3
If you would like to ALWAYS use PHP 8.3, you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php83 .php
PHP 8.2
If you would like to ALWAYS use PHP 8.2, you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php82 .php
PHP 8.1
If you would like to ALWAYS use PHP 8.1, you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php81 .php
PHP 8.0
If you would like to ALWAYS use PHP 8.0, you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php80 .php
PHP 7.4
If you would like to ALWAYS use PHP 7.4, you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php74 .php
PHP 7.3 (obsolete)
If you would like to ALWAYS use PHP 7.3 (obsolete), you can add the following line to your web space's .htaccess-file:
AddType application/x-httpd-php73 .php
SAFE AND SECURE PAYMENT