Which of the following is the latest version of php?
Current Stable PHP 8.1.10 (Changelog)
GPG Keys for PHP 8.1 Show
Old Stable PHP 8.0.23 (Changelog)
GPG Keys for PHP 8.0 Old Stable PHP 7.4.30 (Changelog)
GPG Keys for PHP 7.4 GPG KeysThe 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.1pub 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.0pub 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.4sec 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 VersionThere are a number of reasons why you’d want to use the latest PHP version. Here are a few to consider. Latest FeaturesThe 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. Active Maintenance and Bug FixesSustainable 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 UpdatesIt 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
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 OnCommand LineThe 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. phpinfo() of phpversion() functionsPHP 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. WordPress DashboardThe 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. How to Update Your PHP VersionIf you want to be on the latest PHP version, here’s how to update it. Update PHP Using apt on Ubuntu, Debian, LinuxA 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 FAQsHow 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 NexcessFully 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.
|