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.2.1 (Changelog)     php-7.2.1.tar.bz2 (sig) [14,629Kb] 04 Jan 2018 fe06793f268a4dd29cbc5f4ef415f01e786877152b02221ad7d18dbb6864eb79   php-7.2.1.tar.gz (sig) [19,120Kb] 04 Jan 2018 8ecb2950571054a00687ccbd023874a4a075ccd1e2ec3dc00fc25ef589a77dba   php-7.2.1.tar.xz (sig) [11,811Kb] 04 Jan 2018 6c6cf82fda6660ed963821eb0525214bb3547e8e29f447b9c15b2d8e6efd8822    Windows downloads    GPG Keys for PHP 7.2   Old Stable PHP 7.1.13 (Changelog)     php-7.1.13.tar.bz2 (sig) [14,610Kb] 04 Jan 2018 35fda51d2d44600940185fd5818d336a79e77ab3c98e2bd075091f2f91cf98a1   php-7.1.13.tar.gz (sig) [18,969Kb] 04 Jan 2018 12fcbf59c9eb9af215ef38815d5da39b9d74549092c34b0dfc31442699740ce9   php-7.1.13.tar.xz (sig) [11,909Kb] 04 Jan 2018 1a0b3f2fb61959b57a3ee01793a77ed3f19bde5aa90c43dcacc85ea32f64fc10    Windows downloads    GPG Keys for PHP 7.1   Old Stable PHP 7.0.27 (Changelog)     php-7.0.27.tar.bz2 (sig) [13,823Kb] 04 Jan 2018 99fa2563bb4c4c1cde9febe87cfe97324227d7b4b8828f2e936e507127394131   php-7.0.27.tar.gz (sig) [17,193Kb] 04 Jan 2018 809c0181e970dd17c6a6cabbf64518e719c7253e7490f8e1279bc1e1fbdf7996   php-7.0.27.tar.xz (sig) [11,638Kb] 04 Jan 2018 4b2bc823e806dbf7b62fe0b92b0d14b0c6e03f88c3fc5d96278416c54ce11f6c    Windows downloads    GPG Keys for PHP 7.0    Current Stable PHP 5.6.33 (Changelog)     php-5.6.33.tar.bz2 (sig) [14,705Kb] 04 Jan 2018 07f696a9761dcd839e2045c95c3a4d2ffb52c54417477cca9d30a14975b831cc   php-5.6.33.tar.gz (sig) [18,845Kb] 04 Jan 2018 bedfac81cfaa25961812a1aec458c4109411a14991b43a416343ffb830b8da6a   php-5.6.33.tar.xz (sig) [12,173Kb] 04 Jan 2018 9004995fdf55f111cd9020e8b8aff975df3d8d4191776c601a46988c375f3553    Windows downloads    GPG Keys for PHP 5.6   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.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>   PHP 7.1   pub 4096R/7BD5DCD0 2016-05-07 Key fingerprint = A917 B1EC DA84 AEC2 B568 FED6 F50A BC80 7BD5 DCD0 uid Davey Shafik <davey@php.net> pub 2048R/31CBD89E 2016-12-08  Key fingerprint = 5289 95BF EDFB A719 1D46 839E F9BA 0ADA 31CB D89E uid Joe Watkins <krakjoe@php.net>   PHP 7.0   pub 2048R/9C0D5763 2015-06-09 [expires: 2024-06-06] Key fingerprint = 1A4E 8B72 77C4 2E53 DBA9 C7B9 BCAA 30EA 9C0D 5763 uid Anatol Belski <ab@php.net> pub 2048R/33CFC8B3 2014-01-14 [expires: 2020-01-13] Key fingerprint = 6E4F 6AB3 21FD C07F 2C33 2E3A C2BF 0BC4 33CF C8B3 uid Ferenc Kovacs <tyrael@php.net>   PHP 5.6   pub 2048R/33CFC8B3 2014-01-14 [expires: 2020-01-13] Key fingerprint = 6E4F 6AB3 21FD C07F 2C33 2E3A C2BF 0BC4 33CF C8B3 uid Ferenc Kovacs <tyrael@php.net> pub 2048R/90D90EC1 2013-07-18 [expire : 2016-07-17] Key fingerprint = 0BD7 8B5F 9750 0D45 0838 F95D FE85 7D9A 90D9 0EC1 uid Julien Pauli <jpauli@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-2018 The PHP Group My PHP.net Contact Other PHP.net sites Mirror sites Privacy policy