PHP versions, extentions & modules

On UnoEuro'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.unoeuro.com/phpinfo.php

Ioncube is installed on all PHP web hotels.

Composer

Do you wish to install Composer, then that can be done through SSH and with these instructions: https://getcomposer.org/doc/00-intro.md#locally

PHP versions

All PHP web hotel is running the latest version of PHP 7.1 (unless another configuration is made in the .htaccess file). To be able to use PHP 7.1 you only have to ensure that you haven't added AddType application/x-httpd-php-old .php in your .htaccess-file

Upgrade to the latest stable PHP version (PHP 7.2)

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

Binary is found here: /opt/alt/php72/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 CSM-systems not are updated or compatible with PHP 7, you can choose to downgrade the web hotel to PHP 5.6.

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

AddType application/x-httpd-php-old .php

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.

Please note that this is just a temporary solution and that all web hotels will be forced to use PHP 7 at some point. It makes good sense to downgrade to PHP 5.6 and solved the problems you had with your site when it was 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.

Also see: http://php.net/supported-versions.php

Article from category PHP