GICT knowledge base
Manage PHP and PHP settings in cPanel
Published
PHP is a widely-used open source server wide scripting language which is mainly suitable for web development and can be embedded into HTML language. On a Webhosting field, different PHP settings need to be changed to host a website without any issue. Every changes needs at php.ini which is the PHP configuration file. Some CMS websites need different PHP extensions to work properly and some PHP extensions like OPcache is used to enhance the website performance. And also some time you need to tweaks some PHP settings like upload size, post size, memory limit, the execution time for the proper working of the Websites and its admin areas. You can easily do all this via our cPanel “Select PHP Version” under the “Software” section.
Before discussing that, you can also see the current PHP settings via PHP info page. You can easily create a phpinfo page via cPanel File Manager. To create phpinfo page follow below steps
-> Go to FileManager on cPanel and navigate to the directory and create a new file named “phpinfo.php” and open the file for edit and add below code and save the file.
<?php phpinfo(); ?>
Let’s discuss how we can change the PHP settings via cPanel easily:
1) Login to your cPanel and choose “Select PHP Version” under the “Software” section.
Look for the ‘Current PHP version’. If it is native, please change it to some other version. You could keep the version same without the native option.
2) In the current page, you will see many options to enable PHP extensions. You can easily enable/disable the PHP extensions by click on the square next to the extension name and “Save” at the bottom.
If you need to edit the PHP settings like upload size, post size, memory limit, execution time, click on “Switch To PHP Options”, It will redirect to another page.
After making the changes click on “Save” to complete the process.
If you need any further help please contact our support department.
Related guides
How to Increase PHP Upload Max Filesize on Apache and Nginx
Learn how to increase PHP upload max filesize on Apache and Nginx, including configuration settings, common issues, and approaches for handling large file uploads.
PHPHow TO: Debugging 500 errors on zencart
Troubleshooting Your Zen Cart: A Quick Guide to Debugging Running an e-commerce site on InterServer’s high-performance hosting gives you a great head start, but even the...
PHPPHP Versions on cPanel: Everything You Need to Know
PHP Versions on cPanel: Everything You Need to Know If you are running a PHP site here at InterServer, you have probably seen notifications in your dashboard talking...
PHPHow to Install or Upgrade to PHP8.4 in Ubuntu
Upgrade to PHP 8.4 on Ubuntu 24.04 for real-world speed boosts, better error handling, and smoother Laravel, WordPress, and Symfony support.



