Changing PHP Version¶
Update PHP on your website for better security and performance.
-
Security
Older PHP versions contain known vulnerabilities.
-
Performance
PHP 8.x is up to 40% faster than PHP 7.
-
Compatibility
Modern CMS requires PHP 8.1+.
-
Support
Only current versions receive security patches.
PHP version overview¶
| Version | Status | Support at TUKE |
|---|---|---|
| 5.6 – 8.3 | End of Life | Not supported |
| 8.4 | Security only | Move to 8.5 |
| 8.5 | Current version | Supported |
TUKE Webhosting
We support PHP 8.5, the latest version. Older versions no longer receive security patches and are not supported.
How to change PHP version¶
Open website management¶
Go to the portal and log in with your TUKE ID.
Check current version¶
On the dashboard, you will see a PHP card. If it is marked as outdated, the version is obsolete.

Open PHP settings¶
Click on the PHP icon to display settings.
Select new version¶
In the dropdown menu, choose a supported version.


After changing, click OK at the bottom of the page.
Recommended versions for applications¶
| Application | Minimum version | Recommended at TUKE |
|---|---|---|
| WordPress | PHP 8.1 | PHP 8.5 |
| Laravel | PHP 8.2 | PHP 8.5 |
| Drupal | PHP 8.1 | PHP 8.5 |
| Nextcloud | PHP 8.2 | PHP 8.5 |
| Moodle | PHP 8.1 | PHP 8.5 |
Common issues¶
Website does not work after version change
Some older plugins or themes may not be compatible with new PHP.
Solution: You can always revert to the previous version and update problematic components.
Deprecated warnings in logs
New PHP versions warn about deprecated functions.
Solution: Update CMS and plugins to latest versions.
White pages (500 error)
Critical code incompatibility with new PHP version.
Solution: Revert to previous version and contact application developer.
Security risks of old PHP¶
Known Attacks on Old PHP
- SQL Injection: database query manipulation
- XSS: malicious code injection via forms
- RCE: remote code execution on server
- Directory Traversal: access to sensitive files