How to change php version using Multi PHP Manager in cPanel?
- Castor
- 27 Aug, 2023
Unlock the power of cPanel’s Multi PHP Manager! Elevate your website’s performance and compatibility by effortlessly switching PHP versions with just a few clicks. Stay in control and supercharge your web development journey today!
Steps to Change PHP Version
- Accessing cPanel
Log in to your cPanel account provided by your hosting provider. This is usually done by visiting yourdomain.com/cpanel or yourdomain.com:2083.
- Locate MultiPHP Manager
In cPanel, search for the option MultiPHP Manager. This tool allows you to manage your php version for each website.
- Select Your Domain and PHP Version
Select your domain for which you need to change the PHP version and select the required PHP version.
2
- Apply Changes
After selecting the required PHP version , Apply the changes by clicking the Apply button.
Important Note:
Make sure that the php version is not being controlled from PHP Selector or .htaccess file. Else you’ll need to update the PHP Version from them as well.
- Verify the Change To ensure the PHP version change has taken effect, you can create a simple PHP file (e.g., info.php) with the following content in your websites root directory which is typically the public_html folder or the website’s named folder.
<?php phpinfo(); ?>
Access this file in your browser (e.g., yourdomain.com/info.php) and check the PHP version displayed.
Important Considerations
While changing PHP versions using MultiPHP Selector is convenient, it only affects the specific selected website’s php version only. Keep in mind that some PHP versions might have deprecated features or compatibility issues with your existing code. Make sure to test your website thoroughly after the version change. Regularly update your website’s code to ensure it’s compatible with newer PHP versions. Staying up-to-date will help you avoid security vulnerabilities and benefit from performance improvements.
Conclusion
In conclusion, the path to a more dynamic and efficient web development experience lies within your grasp. With the user-friendly prowess of cPanel’s Multi PHP Manager, the task of upgrading PHP versions becomes a seamless endeavor. By effortlessly toggling between different PHP versions, you not only ensure the optimal performance and security of your website but also keep pace with the ever-evolving web standards. Embrace this cutting-edge tool to unlock a world of compatibility and agility, empowering your online presence to shine brighter than ever before. So, why wait? Take the reins of your web development journey, harness the power of Multi PHP Manager, and propel your website into a future of limitless possibilities!