Can the PHP configuration be changed?
Category: Advanced
Yes, you can change the configuration of the PHP environment using the PHP Selector on a per-cPanel web hosting service basis.
Changing PHP Version, Settings, and Extensions
Within cPanel, the PHP Selector allows you to adjust both the PHP version running on your hosting service and the loaded PHP modules. Currently, you can choose between PHP versions 5.6 up to 8.2. To change your PHP version or configure modules, follow these steps:
- Login to cPanel.
- Under Software, click Select PHP Version.
- To change the PHP version, select from the drop-down next to Current PHP Version and click Set as current to select your desired version (e.g., 7.4, 8.0, 8.1, or 8.2).
- To adjust PHP settings, click the Options tab and make your changes (they’re saved automatically).
- To enable or disable PHP extensions, navigate to the Extensions tab and check/uncheck the boxes as needed. Changes are saved automatically.
- Click Save.
If you’ve completed these steps and are still encountering issues, feel free to reach out to our technical support team via a Support Request, Live Chat, or by phone at (03) 8399 9483.