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.12 (Changelog)     php-8.1.12.tar.gz (sig) [19,302Kb] 27 Oct 2022 e0e7c823c9f9aa4c021f5e34ae1a7acafc2a9f3056ca60eb70a8af8f33da3fdf   php-8.1.12.tar.bz2 (sig) [15,049Kb] 27 Oct 2022 f87d73e917facf78de7bcde53fc2faa4d4dbe0487a9406e1ab68c8ae8f33eb03   php-8.1.12.tar.xz (sig) [11,472Kb] 27 Oct 2022 08243359e2204d842082269eedc15f08d2eca726d0e65b93fb11f4bfc51bbbab    Windows downloads    GPG Keys for PHP 8.1   Old Stable PHP 8.0.25 (Changelog)     php-8.0.25.tar.gz (sig) [16,080Kb] 27 Oct 2022 349a2b5a01bfccbc9af8afdf183e57bed3349706a084f3c4694aa4c7ff7cb2e9   php-8.0.25.tar.bz2 (sig) [12,876Kb] 27 Oct 2022 09d716bceb5b3db76d9023b10c1681ebbe040e51f4c18dfd35f9ff8b73bbcf8c   php-8.0.25.tar.xz (sig) [10,550Kb] 27 Oct 2022 a291b71d0498707fc5514eb5b9513e88f0f1d4890bcdefd67282ded8a2bfb941    Windows downloads    GPG Keys for PHP 8.0    Old Stable PHP 7.4.32 (Changelog)     php-7.4.32.tar.gz (sig) [16,472Kb] 29 Sep 2022 197e3372afd69694eb6b230838305eb9e1cbe5db272e0fa3bbe0d38e329a95bc   php-7.4.32.tar.bz2 (sig) [12,722Kb] 29 Sep 2022 9b4c3c21ffbb4f35d7b865dbf88538bba1742335248ae1cc2afc303d456e3aa6   php-7.4.32.tar.xz (sig) [10,175Kb] 29 Sep 2022 323332c991e8ef30b1d219cb10f5e30f11b5f319ce4c6642a5470d75ade7864a    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] pub rsa4096 2022-08-30 [SC] [expires: 2024-08-29] 2C16 C765 DBE5 4A08 8130 F1BC 4B9B 5F60 0B55 F3B4 uid [ultimate] Gabriel Caruso <carusogabriel@php.net> 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 <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