How To Change PHP Versions In CPanel
Posted by Daniel Naval on 10 May 2019 02:58 AM
What is PHP?
PHP is a server-side scripting language that is designed for web development and also used as general-purpose programming language. Originally named as Personal Home Page and now called as Hypertext Preprocessor.
PHP code can be embedded into HTML code, or can be used in combination with other web template systems, web content management systems, and web frameworks. It is usually processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway Interface (CGI) executable.
UKHost4u servers supports and runs different versions of PHP that can be very important when using multiple applications with different requirements.
How to change PHP Versions on cPanel
Login to your cPanel account. (Don’t know how to login to your cPanel account? Click here)
Locate the category “Software” on the cPanel Home screen and click the “Select PHP Version”.
Once opened, you will see the current version of PHP you are using.
Select the PHP version you wish to use and click on “Set as current”.
On the same screen, you will see the PHP extensions that you can enable or disable.
Also, you can edit some configurations for the PHP version by clicking on the “Switch to PHP Options”.
From here you can modify the configurations like: allow_url_fopen, upload_max_filesize, post_max_size, memory_limit and others. Just click on the “save” button below once done.