In this video, we'll tell you what PHP is, what it's used for, and how to change your PHP version from the NEUBOX cPanel.
00:08 What is PHP?
00:23 Differences between PHP and HTML
00:40 PHP Lifecycle
00:55 PHP Support
01:07 Why do we need to update our PHP version?
01:19 How will my site be affected? 01:33 PHP with Different CMS
02:02 3 Benefits of Updating Your PHP Version
02:07 More Security
02:17 Faster Website
02:32 Error Handling
02:39 Accessing the Neubox cPanel
02:59 Accessing cPanel
03:11 PHP Options
03:25 Changing the PHP Version from the Neubox cPanel
Video Transcript
Hello, welcome back to a new tutorial. This time, we're going to show you how to change your PHP version. Let's start with the basics: what is PHP? PHP is an open-source programming language that runs on a web server. It's one of the most popular languages we have today for web development. We could also say that PHP is a server-side script, meaning it runs on a web server, unlike HTML, which runs in the browser. Combining PHP with HTML allows you to create dynamic websites like WordPress, PrestaShop, Joomla, and others. All PHP versions have a three-year lifecycle after their initial release. A PHP version remains active for approximately two years. After that time, there will be one or two years of security maintenance, meaning there will be releases to fix critical security issues. During this phase, the new PHP version is already available. Why is it critical that we update our PHP version? Well, it turns out that when a PHP version reaches the end of its life, it stops being updated, so after a while, it's no longer safe to use. Many of you wonder, "Well, how will my site be affected? Will it improve or worsen?" The truth is, it will improve. It all depends a lot on which PHP versions are compatible, or the structure of your site. It also depends on what your website is built with. For example, if your website is created in HTML with a website builder, the PHP update won't have any effect. But if your site is built with PHP and the code is compatible with the new PHP version, it will work the same or better. This applies to most CMSs, such as WordPress, which will likely see some performance improvements, provided that... Now that you've updated your WordPress version to the latest, there are three benefits to updating your PHP version. First, it's increased security. The reason is obvious: you can update to versions that support the PHP version you want to use. Second, you'll have a faster website. What does this mean? Well, it's been proven that from version 7.2 to 7.32, sites running with the PHP script increased their speed by around 9 percent. And finally, you'll have new features and improvements that will help with error handling on your website. Now that we know what PHP is for and the benefits it can give us, we'll make the change from the cPanel. To do this, we'll click on "Login" to enter our client panel. We'll be in "Services" under the domain we want to update. We'll click on "Login" and wait a bit for the panel to load. We'll scroll down to the "Software" section and click where it says "Select PHP Version." We'll wait a bit for it to load. Once it loads, we'll notice that we have the same versions in both the current version and the version we've selected to change. To update the version, simply click the arrow and you'll be taken to the latest version. Finally, click where it says "Set as current" or "Mark as current," and you'll have your updated PHP version. Your sites should be faster, and you'll have more server configuration options.