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.9 (Changelog)     php-8.1.9.tar.gz (sig) [19,247Kb] 04 Aug 2022 954cf77f7e0a70dc765e7639acdfdccd164be5cd1bce3dbe9d10c58dca631e76   php-8.1.9.tar.bz2 (sig) [14,959Kb] 04 Aug 2022 9ebb0e2e571db6fd5930428dcb2d19ed3e050338ec1f1347c282cae92fc086ff   php-8.1.9.tar.xz (sig) [11,512Kb] 04 Aug 2022 53477e73e6254dc942b68913a58d815ffdbf6946baf61a1f8ef854de524c27bf    Windows downloads    GPG Keys for PHP 8.1   Old Stable PHP 8.0.22 (Changelog)     php-8.0.22.tar.gz (sig) [16,067Kb] 04 Aug 2022 56fce7529a9798fd0895bca3539d2a65b9cac5d23ffbdf6338419c62ed083519   php-8.0.22.tar.bz2 (sig) [12,866Kb] 04 Aug 2022 e342918d3ecd422f10032df0ac3ffb0e17f568fad6cf8e232b6f7a6a1fdc3c9c   php-8.0.22.tar.xz (sig) [10,532Kb] 04 Aug 2022 130937c0fa3050cd33d6c415402f6ccbf0682ae83eb8d39c91164224ddfe57f1    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 <krakjoe@php.net> pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <ramsey@php.net> 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 <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