21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

How to Change PHP Version in cPanel

Quick answer

In cPanel open Software → MultiPHP Manager, tick the domain, choose the PHP version and click Apply; the next request uses it. Pick PHP 8.3 if your plugins support it, because 8.2 stops getting security fixes on 31 December 2026 and 8.1 is already end of life. Back up first and test afterwards.

For cPanel site owners upgrading PHP safely, including WordPress sites with older plugins.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
5 min
Sections
8
Updated
14 Nov 2026
Written by
WebJi® team

How do you check which PHP version your site uses?

Open Software → MultiPHP Manager in cPanel and read the version shown beside the domain; that is what the website uses on the next request. WordPress also shows it under Tools → Site Health → Info → Server.

For a definitive reading, create phpinfo.php in the site’s document root containing only <?php phpinfo();, open it in a browser, note the version, and delete the file the same day, because it reveals server paths. The php -v command in Terminal or a cron job may use a different binary from the website.

How do you change the PHP version in cPanel?

In MultiPHP Manager, tick the domain, choose the PHP version from the dropdown and click Apply; the change takes effect on the next page request without a server restart. Take a backup first.

  1. Back up the site; WebJi® cPanel plans include JetBackup.
  2. Log in to cPanel and open Software → MultiPHP Manager.
  3. Tick only the domain you want to change; each addon domain has its own row.
  4. Choose the version in the PHP Version dropdown and click Apply.
  5. Reload the homepage, wp-admin and the phpinfo file to confirm the new version.

Each domain keeps its own setting, so a shop can run 8.3 while an older application stays on 8.2. A subdomain that shares the main document root follows the main domain’s version.

Which PHP version should you choose?

Choose PHP 8.3 if your theme and plugins support it: it receives security fixes until 31 December 2027, while 8.2’s security support ends on 31 December 2026 and 8.1 is already end of life. WebJi® cPanel hosting publishes PHP 8.1 to 8.3 in MultiPHP Manager.

PHP branch status (php.net, read 14 November 2026)
VersionSecurity fixes untilAdvice
7.4 and olderEndedUpgrade urgently
8.1Ended 31 Dec 2025Move off it
8.231 Dec 2026Short bridge only
8.331 Dec 2027Recommended on WebJi® cPanel
8.431 Dec 2028Ask support if you need it
8.531 Dec 2029Ask support if you need it

For WordPress, check “Requires PHP” for plugins you cannot lose and update or replace the one that blocks 8.3, rather than keeping the whole site on an old branch. Email support@webji.services if you need a version not shown in the menu. Running an unsupported version is one of the risks covered in how to check website vulnerability.

What if cPanel shows Select PHP Version instead?

Some servers, typically those running CloudLinux, show Select PHP Version, which sets one version for the whole account and manages extensions on the same screen. Use MultiPHP Manager where it exists and Select PHP Version only when it does not.

If both tools are present and show different versions, the handler that actually serves requests wins, which causes confusing results. Set both to the same version, then confirm with phpinfo.

How do you enable PHP extensions such as mbstring?

Extensions are configured per PHP version, so after switching versions open the extension list for the new version and enable what your application needs, such as mbstring, intl, zip, gd or imagick. An extension enabled on 8.1 is not automatically on for 8.3.

Enable OPcache to cache compiled scripts; how to enable PHP OPcache covers its settings. Extensions such as Redis appear only if that PHP build includes them, so do not assume them on shared hosting.

How do you change memory_limit and upload limits?

Open Software → MultiPHP INI Editor, choose the domain, and set values such as memory_limit, upload_max_filesize, post_max_size and max_execution_time. 256M of memory suits most WordPress dashboards.

If phpinfo still shows the old value, a php_value line in .htaccess or a php.ini or .user.ini in the site folder is overriding the editor. For upload problems in WordPress specifically, see increase the WordPress upload size.

How do you fix a white screen after changing PHP?

A white screen or fatal error means some code is incompatible with the new version; switch the domain back first if visitors are affected, then find the failing plugin or theme in the error log.

  1. Revert the domain to the previous version in MultiPHP Manager.
  2. Open Metrics → Errors, or enable WordPress debug logging (enable WP_DEBUG) and read wp-content/debug.log.
  3. Note the plugin or theme named in the error; rename its folder in File Manager to disable it.
  4. Update or replace it, switch PHP forward again, and test the homepage and one form.
Version did not change after Apply
CauseFix
Wrong domain tickedTick the row whose folder the browser opens
Apply not clickedSelect again and click Apply
Old AddHandler or SetHandler in .htaccessRemove the line pinning an older ea-php build
Cached phpinfo pageDelete and re-upload the file, then reload
FAQ

Frequently asked questions

Will changing PHP version affect my emails or databases?

No. The PHP version only affects how scripts on that domain run. Mailboxes, DNS and databases are untouched, although a database-driven site may show errors if its code is incompatible with the new version.

Does a newer PHP version make WordPress faster?

Usually a little, because newer releases include performance improvements, and they keep receiving security fixes. The bigger gains still come from caching, image optimisation and removing slow plugins.

How do I change PHP version in Plesk instead?

In Plesk the setting is under the domain’s PHP Settings or Hosting Settings rather than MultiPHP Manager. The steps are in update the PHP version in Plesk.

Can a cron job use a different PHP version from my site?

Yes. A cron command that calls plain php uses the server’s default binary. Call the specific version’s path, which your host can confirm, so scheduled tasks run on the same version as the site.

PHP support dates from php.net, read 14 November 2026 · Last editorial update: 15 November 2026.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.