PHP versions, extentions & modules

On Simply.com's Linux servers we aim to have the most popular modules installed and at the same time maintain the stability and speed of the specific servers.

If you are interested to see our standard settings and modules on our servers, you can do that in phpinfo(), You will find an example here: http://linux1.simply.com/phpinfo.php

Ioncube is installed on all PHP web hotels.

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 (PHP 7.4)

Would you always like to 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

Binaries can be found here: /opt/alt/php-latest/usr/bin/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

Binaries can be found here: /opt/alt/php74/usr/bin/php

PHP 7.3

If you would like to ALWAYS use PHP 7.3, you can add the following line to your web space's .htaccess-file:

AddType application/x-httpd-php73 .php

Binaries can be found here: /opt/alt/php73/usr/bin/php

PHP 7.2

If you would like to ALWAYS use PHP 7.2, you can add the following line to your web space's .htaccess-file:

AddType application/x-httpd-php72 .php

Binaries can be found here: /opt/alt/php72/usr/bin/php

PHP 7.1

If you would like to ALWAYS use PHP 7.1, you can add the following line to your web space's .htaccess-file:

AddType application/x-httpd-php71 .php

Binaries can be found here: /opt/alt/php71/usr/bin/php

PHP 7.0

If you would like to ALWAYS use PHP 7.0, you can add the following line to your web space's .htaccess-file:

AddType application/x-httpd-php70 .php

Binaries can be found here: /opt/alt/php70/usr/bin/php

Downgrade web hotel to PHP 5.6 (old)

PHP 5.6 is an old version of PHP, that is significant slower than PHP 7+.

In the case where some CMS-systems not are updated or compatible with PHP 7, you can choose to downgrade the web hotel to PHP 5.6.
It makes good sense to downgrade to PHP 5.6 and solve the problems, if your site ran into trouble running PHP 7+ and then upgrade again (by removing the line from the .htaccess). Then you will take part of the benefits with using PHP 7.

You can downgrade to PHP 5.6 by adding the following to your .htaccess-file

AddType application/x-httpd-php56 .php

Article from the support category: PHP