PHP: Downloads                         Downloads Documentation Get Involved Help               Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers   Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing   Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions   Keyboard Shortcuts? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search(current page) / Focus search box            Current Stable PHP 8.1.4 (Changelog)     php-8.1.4.tar.gz (sig) [19,217Kb] 17 Mar 2022 a9951c1c8fd5d2eefde28de0f646c344eb61d751319d220713a6da26f986abde   php-8.1.4.tar.bz2 (sig) [14,983Kb] 17 Mar 2022 b3f688cb69758523838b8e7f509aaef0152133d9b84a84a0b7cf68eeafc1df76   php-8.1.4.tar.xz (sig) [11,426Kb] 17 Mar 2022 05a8c0ac30008154fb38a305560543fc172ba79fb957084a99b8d3b10d5bdb4b    Windows downloads    GPG Keys for PHP 8.1   Old Stable PHP 8.0.17 (Changelog)     php-8.0.17.tar.gz (sig) [16,044Kb] 17 Mar 2022 bdbd792901c156c4d1710c9d266732d3c17f6ff63850d6660b9d8d3411188424   php-8.0.17.tar.bz2 (sig) [12,850Kb] 17 Mar 2022 52811ee2dde71660ca32737a4ac696c24591eb22e846dd8e09ee77122660283f   php-8.0.17.tar.xz (sig) [10,519Kb] 17 Mar 2022 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5    Windows downloads    GPG Keys for PHP 8.0    Old Stable PHP 7.4.28 (Changelog)     php-7.4.28.tar.gz (sig) [16,471Kb] 17 Feb 2022 a04014cd1646b90547907e2e0ac5371594533960de317b6c7ac70bcb42db92fb   php-7.4.28.tar.bz2 (sig) [12,719Kb] 17 Feb 2022 2085086a863444b0e39547de1a4969fd1c40a0c188eb58fab2938b649b0c4b58   php-7.4.28.tar.xz (sig) [10,174Kb] 17 Feb 2022 9cc3b6f6217b60582f78566b3814532c4b71d517876c25013ae51811e65d8fce    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 <krakjoe@php.net> pub rsa4096 2021-04-26 [SC] [expires: 2024-11-26] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <ramsey@php.net> sub rsa4096 2021-04-26 [E] [expires: 2024-11-26] pub rsa4096 2021-04-01 [SC] F1F6 9223 8FBC 1666 E5A5 CCD4 199F 9DFE F6FF BAFD uid [ultimate] Patrick Allaert <patrickallaert@php.net> 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 <pollita@php.net> 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) <carusogabriel@php.net> sub rsa4096 2020-05-09 [E] [expires: 2024-05-08]   PHP 7.4   sec rsa4096 2019-06-11 [SC] [expires: 2029-06-08] 5A52880781F755608BF815FC910DEB46F53EA312 uid [ultimate] Derick Rethans <gpg@derickrethans.nl> uid [ultimate] Derick Rethans <derick@derickrethans.nl> uid [ultimate] Derick Rethans (GitHub) <github@derickrethans.nl> uid [ultimate] Derick Rethans (PHP) <derick@php.net> 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 <petk@php.net> 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.  

     Supported Versions  Check the supported versions page for more information on the support lifetime of each version of PHP.   Documentation download

 PHP logos

 Development sources (git)

 Old archives

        Copyright © 2001-2022 The PHP Group My PHP.net Contact Other PHP.net sites Privacy policy View Source