You enable PHP 8.4 in cPanel through MultiPHP Manager, one domain at a time. On shared hosting you never compile PHP by hand. Each domain on your account can run a different version, so a site still on 8.3 can sit next to one you move to 8.4.
Apply PHP 8.4 per domain
Open MultiPHP Manager and select only the domain that actually serves the site. Addon domains you are not ready to move can stay on their current version.
- Log in to cPanel and open MultiPHP Manager.
- Check the box next to the domain that serves the live site.
- Choose PHP 8.4 from the version menu, then click Apply.
- Wait for the success banner, then confirm the version with phpinfo.
<?php phpinfo();Save that snippet as info-temp.php in the document root and load it in your browser. Confirm the page header reports PHP 8.4, then delete the file right away. Do not leave phpinfo on a production host. Site Health in wp-admin also shows a version, but phpinfo is the direct check from the web server.
When WordPress shows a critical error
A plugin that still calls a removed function can throw a critical error the first time that code loads. Roll the same domain back to PHP 8.3 in MultiPHP Manager, then fix or replace the plugin on staging. Our guide to recover from a WordPress critical error covers the emergency path. This page is how you reduce the chance you need it.
Current WooCommerce builds and well-maintained themes usually run fine on PHP 8.4. Older custom modules from years ago often do not. Read each plugin changelog for 8.4 notes before you switch a busy store.
Match the CLI PHP version
Cron jobs and SSH can use a different PHP binary than the website. MultiPHP Manager may expose a separate account or CLI version picker, depending on your cPanel build. If cron still runs an older PHP against code that fatals there, you only see the failure in the cron email.
php -v
which php
# often /usr/local/bin/php is a wrapper; ls /opt/cpanel/ea-php84/root/usr/bin/phpSet the CLI version to match the web version, or call the 8.4 binary by full path in the crontab. After you apply PHP 8.4 per domain, prove it with phpinfo, align CLI if you use cron, and roll back quickly if a plugin fails. For the wider version picture, see PHP versions and MultiPHP.
Tagged
Was this article helpful?
Be the first to rate this article.



