How to install PHP versions and set the default PHP
On this page
The server can run several PHP versions at once, and each website can use its own. As administrator you choose which versions are installed and which one is the default.
Install a PHP version
- Log in to the administrator panel (
https://<server>:2087). - Open PHP Versions in the menu (section Server).
- Find the version (7.4, 8.0, 8.1, 8.2, 8.3, 8.4 or 8.5). Its status is not installed.
- Click Install. The status changes to working… and the page refreshes by itself.
- After a minute or two the status is installed. Customers can now choose it.
New servers come with PHP 8.2, 8.3 and 8.4.
Set the default PHP version
- On PHP Versions, find an installed version.
- Click Make default. It gets the default label.
The default applies to every website whose domain, account and package have no own choice. Those websites are updated at once. The order is: the domain's choice, then the account's, then the package's, then the server default.
Remove a PHP version
- On PHP Versions, check the Websites column. A version can only be removed when no website uses it.
- Click Remove and confirm.
You cannot remove the default version: make another version the default first. If Remove is greyed out (Used by websites), move those websites to another version first, in their account or package.
Good to know
- PHP 7.4 and 8.0 are for old websites only. PHP itself no longer fixes their security problems (7.4 since November 2022, 8.0 since November 2023). Use them only for sites that do not run on newer PHP, and plan to update those sites.
- Every version is installed with these extensions: common, curl, intl, mysql, pgsql, opcache, imagick, sqlite3 and redis. Further extensions can be added per version; see how to add PHP extensions.
- If an installation fails, its task is marked failed in the Task Queue; see how to retry a failed task.
- Server Settings shows the installed versions under PHP versions, with a link Manage PHP versions.
Common questions
How does a customer change the PHP version of their website?
Customers choose among the installed versions in their own control panel, per account or per domain. You can also set a version in the package.
Why is a version missing from the customer's list?
Only installed versions are offered. Install it on PHP Versions first.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to add PHP extensions (ionCube, APCu, Memcached and more)
Install or remove optional PHP extensions such as ionCube Loader, APCu, Memcached, IMAP and LDAP for each PHP version on the server.
- Server settings explained: name, IP, nameservers, time zone
Every option on the Server Settings page: brand name, hostname, shared IP, contact email, nameservers, language, time zone, TTL and web server.
- How to find and retry a failed task (Task Queue)
Every change on the server runs as a task. See queued, running, done and failed tasks, read a task's output and run a failed task again.