PHP version and php.ini settings
Hosting sites run PHP 8.3, 8.4 or 8.5. You set the version and the most important php.ini values from the portal in a few clicks.
Switching versions
- Open the site and go to the PHP settings tab.
- Choose the new version in the PHP version list and save.
Switching restarts the site's container, which means a few seconds of downtime. Your files do not change. Before moving a live site to a new major version, take a backup and check that your plugins support the new version.
Older versions: versions before 8.3 are no longer offered. A site that still runs one keeps working but gets no security fixes, so switch to a supported version as soon as you can.
Adjustable php.ini values
| Setting | Allowed range | Default |
|---|---|---|
memory_limit | 64M up to half of the plan's memory (at most 1024M) | 256M |
max_execution_time | 5–300 seconds | 60 |
upload_max_filesize | 2M–512M | 64M |
post_max_size | 2M–512M, at least as large as upload_max_filesize | 64M |
max_input_vars | 1000–10000 | 3000 |
display_errors | On / Off | Off |
You can set the values on a form or in the php.ini editor. The editor checks the input line by line and tells you when a setting cannot be changed or a value is out of range. After saving, the site restarts with the new settings within a few seconds.
Every other php.ini value is fixed for security reasons. The time zone is Europe/Budapest, and PHP can reach only the website's directory and the temporary directory.
Tip: keep display_errors Off on a live site, because error messages can reveal internal details to visitors. For debugging, read the error log on the Logs tab, where your site has one.
Extensions and caching
Every version has mysqli, pdo_mysql, gd (with JPEG, WebP and FreeType support), zip, intl, exif, bcmath, soap, xsl and sockets. OPcache is enabled on every version.
Sending mail from PHP
On a hosting site, PHP cannot send mail directly: there is no sendmail and no local mail server. If your website needs to send mail, from a contact form for example, it has to go through an external email provider. WordPress on your hosting explains how.