Which of the following is the latest version of php?

Current Stable PHP 8.1.10 (Changelog)

  • php-8.1.10.tar.gz (sig) [19,283Kb] 01 Sep 2022 3ea4f323109dfbc8d2631d08aa0e08602c1f713678e9dc6c750f081ef49eab0f
  • php-8.1.10.tar.bz2 (sig) [15,052Kb] 01 Sep 2022 2de8e0402285f7c56887defe651922308aded58ba60befcf3b77720209e31f10
  • php-8.1.10.tar.xz (sig) [11,461Kb] 01 Sep 2022 90e7120c77ee83630e6ac928d23bc6396603d62d83a3cf5df8a450d2e3070162
  • Windows downloads

GPG Keys for PHP 8.1

Old Stable PHP 8.0.23 (Changelog)

  • php-8.0.23.tar.gz (sig) [17,106Kb] 01 Sep 2022 a2dd50e9c4a0328d921b6bc914e8b4e6572f94f09867318f88acca5ac4fa76c7
  • php-8.0.23.tar.bz2 (sig) [13,312Kb] 01 Sep 2022 1412db46800a45ced377c2892ec6261b3c412f13dc133bfc998cfb2f147b40cf
  • php-8.0.23.tar.xz (sig) [10,606Kb] 01 Sep 2022 65e474b6bd8cfc9d4a8a56268a755e2f9d3e7499e1687e6401a9f2b047600f87
  • Windows downloads

GPG Keys for PHP 8.0

Old Stable PHP 7.4.30 (Changelog)

  • php-7.4.30.tar.gz (sig) [16,471Kb] 09 Jun 2022 e37ea37e0f79109351ac615da85eb7c2c336101fc5bc802ee79a124a4310dc10
  • php-7.4.30.tar.bz2 (sig) [12,720Kb] 09 Jun 2022 b601bb12e53720469b60ea816776cac1c0696b09888a11ad2379b2eee835386e
  • php-7.4.30.tar.xz (sig) [10,175Kb] 09 Jun 2022 ea72a34f32c67e79ac2da7dfe96177f3c451c3eefae5810ba13312ed398ba70d
  • Windows downloads

GPG Keys for PHP 7.4


GPG Keys

The releases are tagged and signed in the PHP Git Repository. The following official GnuPG keys of the current PHP Release Manager can be used to verify the tags:

PHP 8.1

pub   2048R/31CBD89E 2016-12-08
      Key fingerprint = 5289 95BF EDFB A719 1D46  839E F9BA 0ADA 31CB D89E
uid                  Joe Watkins <>

pub   rsa4096 2021-04-26 [SC] [expires: 2025-11-24]
      39B6 4134 3D8C 104B 2B14  6DC3 F9C3 9DC0 B969 8544
uid           [ultimate] Ben Ramsey <>
sub   rsa4096 2021-04-26 [E] [expires: 2025-11-24]

pub   rsa4096 2021-04-01 [SC]
      F1F6 9223 8FBC 1666 E5A5  CCD4 199F 9DFE F6FF BAFD
uid           [ultimate] Patrick Allaert <>
sub   rsa4096 2021-04-01 [E]
  

PHP 8.0

pub   4096R/70D12172 2017-04-14 [expires: 2024-04-21]
      Key fingerprint = 1729 F839 38DA 44E2 7BA0  F4D3 DBDB 3974 70D1 2172
uid                  Sara Golemon <>

pub   rsa4096 2020-05-09 [SC] [expires: 2024-05-08]
      BFDD D286 4282 4F81 18EF  7790 9B67 A5C1 2229 118F
uid           [ultimate] Gabriel Caruso (Release Manager) <>
sub   rsa4096 2020-05-09 [E] [expires: 2024-05-08]

pub   rsa4096 2022-08-30 [SC] [expires: 2024-08-29]
      2C16 C765 DBE5 4A08 8130  F1BC 4B9B 5F60 0B55 F3B4
uid           [ultimate] Gabriel Caruso <>
sub   rsa4096 2022-08-30 [E] [expires: 2024-08-29]
  

PHP 7.4

sec   rsa4096 2019-06-11 [SC] [expires: 2029-06-08]
      5A52880781F755608BF815FC910DEB46F53EA312
uid           [ultimate] Derick Rethans <>
uid           [ultimate] Derick Rethans <>
uid           [ultimate] Derick Rethans (GitHub) <>
uid           [ultimate] Derick Rethans (PHP) <>
ssb   rsa4096 2019-06-11 [E] [expires: 2029-06-08]

pub   rsa4096 2019-05-29 [SC] [expires: 2021-05-28]
      4267 0A7F E4D0 441C 8E46  3234 9E4F DC07 4A4E F02D
uid           [ultimate] Peter Kokot <>
sub   rsa4096 2019-05-29 [E] [expires: 2021-05-28]
  

A full list of GPG keys used for current and older releases is also available.

If you’re running WordPress sites, you’ve probably heard the term “latest PHP version” thrown around. Well-known sites like Facebook and Wikipedia are websites developed using the PHP language. Additionally, 40% of the web is powered by WordPress which is built using PHP. But, what is it? And why do you have to use the latest version?

What is PHP?

PHP is a general purpose scripting language used in web development and is widely used by some of the largest websites on the internet. PHP stands for “PHP: Hypertext Preprocessor.” The language is open source and free to use.

What is the Latest PHP Version?

As of the time of this writing, the latest PHP version is 8.1. This will be actively supported by the PHP Foundation until the 25th of November in 2023, with security updates continuing for another year thereafter.

Why Are There Multiple PHP Versions?

Cell phones update regularly. Computer games get patches. The same goes for PHP. Each PHO version introduces new features as planned by the maintainers of the language. Versioning allows for development teams to safely update to new versions or migrate from one major version to another.

Why It's Important to Use the Latest PHP Version

There are a number of reasons why you’d want to use the latest PHP version. Here are a few to consider.

Latest Features

The growth of PHP has seen many new features, especially in recent years, which make PHP even more powerful. Not only is access to PHP for web development increasingly common, it also offers top notch features that compare with other powerful languages. If you aren’t using the latest PHP version, then you are missing out on these latest features.

Which of the following is the latest version of php?

Active Maintenance and Bug Fixes

Sustainable software is supported by frequent and consistent updates in response to bug reports. Keeping up to date with each release of the latest PHP version ensures the most stable experience that the features set has to offer.

Security Updates

It is important to remember that security issues come around and need to be addressed swiftly and effectively. Using the latest PHP version ensures the longevity of security updates. While older versions of PHP offer security updates for a time past “end of life,” the most secure option is the version that is actively maintained.

Complete Guide to PHP Versions

PHP Version Release Date Key Features
PHP 8.1 (PHP current version) November 25, 2021 Enumerations, read-only properties, noreturn type, new in initializers, final class constants, fibers (asynchronous PHP)
PHP 8.0 November 26, 2020 Major performance improvements, just-in-time compilation, nullsafe operator, match expression, constructor property promotion, union types, mixed type, static return type
PHP 7.4 November 28, 2019 Custom object serialization, null coalescing assignment operator, reflection for references, foreign function interface
PHP 7.3 December 6, 2018 Reference assignment for destructured arrays, flexible heredoc and nowdoc syntax
PHP 7.2 November 30, 2017 Object type hint, abstract function overriding
PHP 7.1 December 1, 2016 Void return type, class constant visibility
PHP 7.0 December 3, 2015 Major performance improvements, null coalescing operator, return types
PHP 5.6 August 28, 2014 Variadic functions, argument unpacking

For an exhaustive list of changes, see the PHP 5.x changelog, the PHP 7.x changelog, and the PHP 8.x changelog.

It is important to note that PHP 6 was never released. While originally planned, PHP 6 was abandoned and the release following PHP5.x continued with PHP 7.x. This jump in the version number was largely to prevent confusion when discussing the abandoned PHP 6 as compared to the to-be-release version following PHP 5.6.

Additionally, PHP versions are available for download all the way back to PHP 1 on the PHP museum website, for those that are interested.

How to Tell Which PHP Version You’re On

Command Line

The command php -v will provide the active PHP CLI version. Note that this may be different than the version of PHP running on the server, which is used to serve web requests.

Which of the following is the latest version of php?

phpinfo() of phpversion() functions

PHP offers multiple functions for displaying server configuration information. This information is typically for debugging purposes and should not be made publicly accessible as some of the information may be abused.

In your local environment, you can use the phpinfo() function to render a table of server configuration details in an easy to read (and search) table.

Additionally, for quick access to the PHP version you can use the phpversion() function to simply return the active PHP version used by the server.

Which of the following is the latest version of php?

WordPress Dashboard

The WordPress administrator dashboard has a site health tool (under Tools -> Site Health) that details the server configuration on which the site is installed. Listed here is the installed PHP version.

Which of the following is the latest version of php?

How to Update Your PHP Version

If you want to be on the latest PHP version, here’s how to update it.

Update PHP Using apt on Ubuntu, Debian, Linux

A specific version of PHP can be installed using the apt command-line utility, following the naming convention of phpX.X, for example php8.0 or php7.4.

The below command will install PHP version 8.0:

sudo apt-get install php8.0

Multiple versions of PHP can be installed, but only one PHP version can be activated at a time.

Assuming an active version of PHP 7.4 updating to PHP 8.0, the following script will disable PHP 7.4 and enable PHP 8.0:

sudo a2dismod php7.4sudo a2enmod php8.0sudo service apache2 restartsudo update-alternatives --set php /usr/bin/php8.0

PHP Version FAQs

How Many Versions of PHP Are There?

Starting with version 1, the PHP ecosystem is currently at version 8.x. This is not to include the unreleased version 6 of PHP, so there are currently 7 major versions of PHP.

What is in the Latest PHP Version?

The latest PHP version is 8.x, which features major performance improvements in addition to major features that bring support for stability and predictability in the code.

Is PHP 7.4 End of Life?

PHP 7.4 is receiving security updates only. This means that reported security vulnerabilities will result in patch releases, but will not include any new features. Security updates will end for PHP 7.4 on November 28th, 2022 at which point PHP 7.4 will be considered end of life.

Which Version of PHP is Best?

The best version of PHP is generally the latest version of PHP that is available for use. For new projects, this will usually mean PHP 8.x is the place to get started. For existing projects, there are compatibility considerations that may require some code updates to ensure that the project is compatible with any breaking changes in the latest release.

Try Fully Managed WordPress Hosting from Nexcess

Fully managed WordPress hosting from Nexcess brings out the best in your site.

Automatic image compression, a built-in content delivery network (CDN), and advanced WordPress caching features make your site load at a hyper speed. At the same time, iThemes Security PRO will make sure your site is secure.

And just in case something goes amiss, Nexcess’ WordPress experts are there for you 24/7.

Check out our fully managed WordPress and WordPress ecommerce solutions to get started today.

Which is the latest version of PHP?

W3Techs reports that, as of January 2022, "PHP is used by 78.1% of all the websites whose server-side programming language we know." PHP version 7.4 is the most used version. ... PHP..

When did PHP 7.4 come out?

PHP 7.4 has finally arrived! This new version, released on November 28, 2019, is now available on all Hostinger servers. Developers can expect improvements in code readability, maintenance, and ease of use. Let's look at some of the new features, performance tweaks, and other reasons why you should migrate to PHP 7.4.

What are the versions of PHP?

The six versions of PHP are named as 'PHP version 1.0', 'PHP version 2.0', 'PHP version 3.0', 'PHP version 4.0', 'PHP version 5.0 and 6.0', and the current version 'PHP version 7.0'.

What does PHP 7.4 mean?

PHP 7.4 is the latest stable version of PHP. It was released on November 28, 2019 and it's the last version before PHP 8. It brings lots of new features, syntax additions and fixes. In this post you'll find a list with everything that's new and changed to help you prepare for the upgrade.

What is the new in PHP?

The new keyword is used to create an object from a class.