Articles on: Web Hosting

How to change your PHP version and manage your extensions

To maintain a secure and efficient website, it's important to manage your PHP configurations actively. Follow our step-by-step guide to update your PHP version and adjust your PHP extensions

Step 1: Access Your cPanel


Log in to your cPanel account. You can do this through SpeedyPage's client area or by adding /cpanel to the end of your domain.

SpeedyPage - Client Area

Step 2: Locate the PHP Selector


Now your logged into cPanel, scroll to the "Software" section.
Click on the "Select PHP Version" icon.

cPanel - PHP Selector

Step 3: Choose the PHP Version


Click on the displayed version.
Choose your desired version from the dropdown.
Press "Set as Current".


cPanel - PHP Version

New PHP versions may not work with all applications. If you experience errors, switch to the previous version and verify your software is compatible with the latest PHP release.


Adjusting the PHP Extensions


Click 'Extensions' from the sub-menu.
Enable or disable PHP extensions by checking or unchecking the boxes next to them.
Click 'Save' to apply your changes.

cPanel - PHP Extensions


Adjusting your PHP Options


Click 'Options' from the sub-menu.
You can modify your PHP options within this page.


cPanel - PHP Options

Typically the PHP options commonly adjusted are memory_limit, post_max_size, upload_max_filesize and disabled_functions.

Remember to adjust both post_max_size and upload_max_filesize values if you're increasing the max upload size.


Conclusion



If you encounter any issues or need further assistance, please contact our support team.

Updated on: 04/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!