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 Errors Exceptions Generators 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 Using Register Globals User Submitted Data Magic Quotes 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 Safe Mode 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 Credit Card Processing 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 7.4.6 (Changelog)     php-7.4.6.tar.bz2 (sig) [12,429Kb] 14 May 2020 a6ed9475695d2056322a3f2c00fee61a122a7fce138a0e25694320c5dd1d2348   php-7.4.6.tar.gz (sig) [16,115Kb] 14 May 2020 2a37bab4e308c4e3867083137b7cce4a3f1d996ae231b383c1a83609cec3fed0   php-7.4.6.tar.xz (sig) [10,044Kb] 14 May 2020 d740322f84f63019622b9f369d64ea5ab676547d2bdcf12be77a5a4cffd06832    Windows downloads    GPG Keys for PHP 7.4   Old Stable PHP 7.3.18 (Changelog)     php-7.3.18.tar.bz2 (sig) [14,739Kb] 14 May 2020 749d21f65deb57153b575f846705f5db54732c6b672e80612b29dcf1a53be8a4   php-7.3.18.tar.gz (sig) [19,184Kb] 14 May 2020 3211d5d6ea8a27c2794498a551bf26e334bc2b986741971809c9bb650eaa47a3   php-7.3.18.tar.xz (sig) [11,832Kb] 14 May 2020 7b3e2479a8d6fd7666dcdef8aec50d49c4599cc6ee86e48d41724cfd99cc9e58    Windows downloads    GPG Keys for PHP 7.3   Old Stable PHP 7.2.31 (Changelog)     php-7.2.31.tar.bz2 (sig) [14,877Kb] 14 May 2020 1ba7559745d704f39764a5deb002eb94f5cb8d9aaa219a6b8b32b94174e8a700   php-7.2.31.tar.gz (sig) [19,470Kb] 14 May 2020 796837831ccebf00dc15921ed327cfbac59177da41b33044d9a6c7134cdd250c   php-7.2.31.tar.xz (sig) [12,021Kb] 14 May 2020 8beaa634bb878a96af9bc8643811ea46973f5f41ad2bfb6ab4cfd290e5a39806    Windows downloads    GPG Keys for PHP 7.2   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 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]   PHP 7.3   pub rsa4096/118BCCB6 2018-06-05 [SC] [expires: 2022-06-04] Key fingerprint = CBAF 69F1 73A0 FEA4 B537 F470 D66C 9593 118B CCB6 uid Christoph M. Becker <cmb@php.net> pub 2048D/5DA04B5D 2012-03-19 Key fingerprint = F382 5282 6ACD 957E F380 D39F 2F79 56BC 5DA0 4B5D uid Stanislav Malyshev (PHP key) <smalyshev@gmail.com> uid Stanislav Malyshev (PHP key) <stas@php.net> uid Stanislav Malyshev (PHP key) <smalyshev@sugarcrm.com>   PHP 7.2   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 4096R/EE5AF27F 2017-05-24 [expires: 2024-05-22] Key fingerprint = B1B4 4D8F 021E 4E2D 6021 E995 DC9F F8D3 EE5A F27F uid Remi Collet <remi@php.net> pub rsa4096/118BCCB6 2018-06-05 [SC] [expires: 2022-06-04] Key fingerprint = CBAF 69F1 73A0 FEA4 B537 F470 D66C 9593 118B CCB6 uid Christoph M. Becker <cmb@php.net>     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-2020 The PHP Group My PHP.net Contact Other PHP.net sites Privacy policy