How to Change PHP Version in cPanel Using the CloudLinux PHP Selector

A step-by-step guide

Evans

Last Update 4 hari yang lalu

Please read through this article on possible implications when updating the PHP version:
Considerations Before Updating PHP Versions 

  • Log in to your HostAfrica client panel and click on Control Panel.

  • You will be redirected to a new page, and the cPanel page will now open.

  • As shown in the screenshot,
    Under 'Software ', click on the 'Select PHP version' option in your cPanel.
  • Find the part that says, 'Current PHP version' and click on the drop-down menu and select your preferred version.
  • Click on 'Apply'
  • You can select a PHP version and extensions that you need according to your needs and save.
  • You can modify the PHP limits, such as Upload limits, memory limits, and max execution time. 


  • This can be done from the 'options' tab.

  • You can also enable a PHP extension from the same page. 
  • This can be done from the 'Extensions' tab.
    (Ensure your preferred PHP version is already selected)
  • Scroll down and check the PHP extension you would like enabled.
    (If the extension is not there, please select a different PHP version)
  • The PHP extension will now be enabled

  • To disable the extension, deselect the box of the PHP extension

  • Congratulations, you've made it to the end!
    This is how to work with PHP versions, extensions, and limits for your website(s).
    If you found this article helpful, don’t forget to give it a 😊

Was this article helpful?

16 out of 22 liked this article

Still need help? Message Us