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.1.7 (Changelog)     php-7.1.7.tar.bz2 (sig) [15,383Kb] 06 Jul 2017 079b6792987f38dc485f92258c04f9e02dedd593f9d260ebe725343f812d1ff8   php-7.1.7.tar.gz (sig) [19,898Kb] 06 Jul 2017 e0dbab8da601ee5119368d6f93dc1a86ad53b799d2f8c1209d6b827a2b259f92   php-7.1.7.tar.xz (sig) [12,531Kb] 06 Jul 2017 0d42089729be7b2bb0308cbe189c2782f9cb4b07078c8a235495be5874fff729    Windows downloads    GPG Keys for PHP 7.1   Old Stable PHP 7.0.21 (Changelog)     php-7.0.21.tar.bz2 (sig) [14,983Kb] 06 Jul 2017 2ba133c392de6f86aacced8c54e0adefd1c81d3840ac323b9926b8ed3dc6231f   php-7.0.21.tar.gz (sig) [19,149Kb] 06 Jul 2017 f2f05f629dd02c75834ddf033916bd5ff92a720602839d81fd8b6d90e37b6225   php-7.0.21.tar.xz (sig) [12,330Kb] 06 Jul 2017 6713fe3024365d661593235b525235045ef81f18d0043654658c9de1bcb8b9e3    Windows downloads    GPG Keys for PHP 7.0    Current Stable PHP 5.6.31 (Changelog)     php-5.6.31.tar.bz2 (sig) [14,677Kb] 06 Jul 2017 8f397169cb65f0539f3bcb04060f97770d73e19074a37bd2c58b98ebf6ecb10f   php-5.6.31.tar.gz (sig) [18,837Kb] 06 Jul 2017 6687ed2f09150b2ad6b3780ff89715891f83a9c331e69c90241ef699dec4c43f   php-5.6.31.tar.xz (sig) [12,169Kb] 06 Jul 2017 c464af61240a9b7729fabe0314cdbdd5a000a4f0c9bd201f89f8628732fe4ae4    Windows downloads    GPG Keys for PHP 5.6   Old Stable PHP 5.5.38 (Changelog)     php-5.5.38.tar.bz2 (sig) [13,380Kb] 21 Jul 2016 473c81ebb2e48ca468caee031762266651843d7227c18a824add9b07b9393e38   php-5.5.38.tar.gz (sig) [17,369Kb] 21 Jul 2016 4f458c9b504269615715a62f182b7c2f89bb8284f484befc221b56a1571b506e   php-5.5.38.tar.xz (sig) [10,818Kb] 21 Jul 2016 cb527c44b48343c8557fe2446464ff1d4695155a95601083e5d1f175df95580f    Windows downloads    GPG Keys for PHP 5.5   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.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>   PHP 5.5   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> pub 4096R/7267B52D 2012-03-20 [expires: 2016-03-19] Key fingerprint = 0B96 609E 270F 565C 1329 2B24 C13C 70B8 7267 B52D uid David Soria Parra <dsp@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-2017 The PHP Group My PHP.net Contact Other PHP.net sites Mirror sites Privacy policy