How to use PHP 7 in cPanel hosting
cPanel ships with
PHP 7, but
PHP 5 is still used by default instead. Even if you don’t use
PHP 7 specific functions, the performance benefit that
PHP 7 brings is a good enough reason to switch. This is especially important in shared hosting such as
cPanel as performance is especially lacking.
Make sure your application is compatible with
PHP 7 before making the switch.
To start using
PHP 7 within your
cPanel hosting, log in to
cPanel and follow these steps;
Check your current
PHPversion to confirm.