Change PHP version from 5.6 to 8.4 in the control panel or via the .htaccess file – all standard modules including Ioncube are installed on our Linux servers.
On Simply.com's Linux servers we strive to have the most commonly used PHP modules installed, while keeping the servers as stable and fast as possible.
We offer all PHP versions from 5.6 onwards.
If you are interested in all the standard settings and modules on our servers, you can view them in phpinfo(). You can find an example here: http://linux1.unoeuro.com/phpinfo.php
Ioncube is installed on all PHP webhosting plans.
You can change the PHP version for your product yourself via our Control Panel. This is done under Website -> PHP Version. When the version is changed this way, it will override any versions that may have been set in the .htaccess file.
If you want to use a specific PHP version, it can be changed by adding a directive to your .htaccess file.
You can access the .htaccess file with our File Manager or via FTP. If the file does not exist, you need to create it.
| PHP version | .htaccess directive |
|---|---|
| Latest stable (pt. PHP 8.4) | AddType application/x-httpd-php-latest .php |
| 8.4 | AddType application/x-httpd-php84 .php |
| 8.3 | AddType application/x-httpd-php83 .php |
| 8.2 | AddType application/x-httpd-php82 .php |
| 8.1 | AddType application/x-httpd-php81 .php |
| 8.0 | AddType application/x-httpd-php80 .php |
| 7.4 | AddType application/x-httpd-php74 .php |
| 7.3 | AddType application/x-httpd-php73 .php |
| 7.2 | AddType application/x-httpd-php72 .php |
| 7.1 | AddType application/x-httpd-php71 .php |
| 7.0 | AddType application/x-httpd-php70 .php |
| 5.6 | AddType application/x-httpd-php56 .php |
/usr/local/bin/php binary automatically follows the PHP version specified in the .htaccess file. Composer also uses this.
Article from the support category: PHP