How to Install PHP in CPanel
If your host provided you with cPanel to administer your website, then you have a version of PHP already installed as part of the server setup as it is not possible for cPanel to install without PHP. However, PHP offers a wide variety of extra packages that you can install through cPanel to customize your PHP. These additions include things like handling different file types, changing calendar options and caching options. Install these PHP packages at any time.
Instructions
-
-
1
Log in to cPanel.
-
2
Click "PHP Pear Packages."
-
-
3
Click "Show Available PHP Extension(s) and Applications(s)."
-
4
Click "Install" next to the name of a PHP package you want to install.
-
1
Tips & Warnings
To check your PHP version, click "Expand Stats" on the left of the cPanel home. The PHP version is listed.
If you do not see a PHP version listed, contact your host. PHP will need to be installed through WHM at the server level.