Back to site

Change the PHP version

Select the PHP version and extensions on HolyCloud shared hosting via the panel.

Change the PHP version

Applications (WordPress, PrestaShop, Laravel) require a compatible PHP version. On HolyCloud shared hosting, you change the version per domain or per folder from the panel, without compiling PHP yourself.

Prerequisites

  • Panel access (cPanel or DirectAdmin)
  • Required version for your CMS (e.g. WordPress 6.x → PHP 8.1 minimum)
  • Site backup before major change (7.x → 8.x)

Check the current version

Panel method

cPanelSelect PHP Version or MultiPHP Manager: active version is shown per domain.

phpinfo file method

  1. File Managerpublic_html.
  2. Create phpinfo.php:
<?php phpinfo();
  1. Open https://votredomaine.fr/phpinfo.php — read the PHP Version line.
  2. Delete the file immediately after testing (information disclosure risk).

Change version (cPanel — MultiPHP Manager)

  1. Client area → panel access.
  2. SoftwareMultiPHP Manager.
  3. Check the target domain.
  4. PHP Version dropdown: choose 8.2 or 8.3 (as available).
  5. Apply.

For a specific subfolder: MultiPHP INI EditorBasic or Editor mode per domain, or use a .user.ini file (see below).

Required PHP extensions

Select PHP Version (alternative interface):

  1. Select the version.
  2. Enable extensions:

- mysqli, pdo_mysql

- curl, openssl, mbstring, json, xml

- zip, gd or imagick

- intl (recommended for WordPress)

  1. Save.

WordPress: Site Health reports missing extensions.

Common INI settings

MultiPHP INI Editor → domain → Basic Mode:

| Parameter | Indicative value (shared) |

|-----------|-------------------------------|

| memory_limit | 256M (per plan) |

| upload_max_filesize | 64M |

| post_max_size | 64M |

| max_execution_time | 60 |

| display_errors | Off in production |

.user.ini at site root (if allowed):

memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 120

.user.ini changes may take 5 minutes to apply.

DirectAdmin (summary)

  1. Account ManagerPHP Settings or Select PHP version.
  2. Choose version for the domain.
  3. Enable extensions in the same interface.

After the change

  1. Reload the site and WordPress admin.
  2. Check logs: panel → Errors / MetricsErrors.
  3. On fatal error: revert to previous version in MultiPHP Manager.

CLI test (if Terminal is enabled on the plan):

php -v
php -m | grep -i mysqli

PHP 8.x compatibility

  • Older plugins may produce warnings or TypeError.
  • Update themes/plugins before moving to 8.3.
  • mysql_* removed long ago — use mysqli or PDO.

Troubleshooting

| Symptom | Action |

|----------|--------|

| White screen | Revert version; temporarily enable WP_DEBUG_LOG |

| 500 after change | Missing extensions; cPanel Errors logs |

| Version unchanged | OPcache — wait 5 min; conflicting .user.ini |

| Upload fails | Increase upload_max_filesize and post_max_size |

Need help?

Provide the domain, desired version, CMS, and exact error from the panel Errors section.