You can easily manage your PHP version, enable or disable PHP extensions, and adjust PHP settings directly from cPanel without needing to edit configuration files manually.
Changing PHP Version
-
Log in to your cPanel account.
-
In the SOFTWARE section, click on Select PHP Version.
-
Your current PHP version will be displayed.
-
From the Current PHP Version dropdown, select the desired PHP version.
-
The change takes effect immediately.
Managing PHP Extensions
-
Log in to cPanel.
-
Go to Select PHP Version under the SOFTWARE section.
-
You will see a list of available PHP extensions.
-
To enable an extension, check the box next to its name.
-
To disable an extension, uncheck its box.
-
Changes are saved automatically.
-
To revert all extensions to default, click Reset to default in the top-right corner.
Modifying PHP Settings (Configuration Directives)
-
Log in to cPanel.
-
Navigate to Select PHP Version in the SOFTWARE section.
-
Click the Options tab near the top of the page.
-
Click the value next to the setting you want to change.
-
Depending on the setting, a dropdown or text box will appear allowing you to select or enter a value.
-
Changes save automatically and apply immediately.
This feature allows you to control PHP configuration such as allow_url_fopen
, error_log
, and many other directives, all without managing custom php.ini
files.