There are lots of websites out there that are still using old, outdated or unsupported versions of PHP.
The second release in the PHP 7 series (7.2) brings with it updates to the core, new security measures faster loading speeds and modern cryptography.
What is PHP?
PHP is a widely used open-course scripting language. It’s used to write dynamically generated web pages. Pages are written using scripts that are then executed on the server and sent to the browser as HTML.
If you’re using a common piece of software or CMS such as WordPress, this is written in PHP. You can identify PHP files easily as they end in .php.
Advantages of PHP
PHP is compatible with almost all browsers, servers and databases and is backed by a large open source community. It’s constantly in development and for these reason. new versions are released regularly.
As newer versions get released, support for older versions decreases and it means they no longer receive the required security updates.
PHP can be stored in databases and called to generate the page the visitor requests.
Why PHP 7.2?
Here’s some of the updates to PHP 7.2
Libsodium is Part of the Core – This application layer cryptography library was previously available as a PHP extension called PECL, but it now forms part of the PHP 7.2 core. This provides much better security than previous PHP versions
Argon2 – Argon2 is a hashing algorithm and replaces Bcrypt in PHP 7.2. Argon2 is designed to increase performance. You can read more about this here.
Performance – According to benchmark tests, PHP 7.2 runs around 13% faster then 7.1 and around 20% faster the 7.0. It’s around twice as fast as 5.6.
PHP 7.0 reached it’s end of it’s security support in Dec 2017 and 7.1 will reach this in Dec 18. Critical updates will no longer be available via the PHP community.
By upgrading to PHP 7.2 you’re making sure you get the latest security and performance updates.
How Can You Update?
PHP 7.2 comes as standard on all of our hosting packages and can be selected using the PHP Selector in cPanel Control Panel. See this article for details.