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 Predefined Attributes 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.13 (Changelog)     php-8.1.13.tar.gz (sig) [19,273Kb] 24 Nov 2022 eed1981ce9999d807cb139a9d463ae54bbeda2a57a9a28ad513badf5b99b0073   php-8.1.13.tar.bz2 (sig) [15,017Kb] 24 Nov 2022 93fcfdfaaa3d094a0fdb18ce08d20f20d526ee3f07a146a8a8ec82ce00b237ca   php-8.1.13.tar.xz (sig) [11,526Kb] 24 Nov 2022 b15ef0ccdd6760825604b3c4e3e73558dcf87c75ef1d68ef4289d8fd261ac856    Windows downloads    GPG Keys for PHP 8.1   Old Stable PHP 8.0.26 (Changelog)     php-8.0.26.tar.gz (sig) [17,117Kb] 24 Nov 2022 3c83a7355a640b2ba436b8202e8597df8f9daadee1ec9241729ece8e578d21cd   php-8.0.26.tar.bz2 (sig) [13,326Kb] 24 Nov 2022 6df87af96f275a75889ece6e3fe4a13abd93a767a9992863bdc0e90f1e887ee7   php-8.0.26.tar.xz (sig) [10,614Kb] 24 Nov 2022 0765bfbe640dba37ccc36d2bc7c7b7ba3d2c3381c9cd4305f66eca83e82a40b3    Windows downloads    GPG Keys for PHP 8.0    Old Stable PHP 7.4.33 (Changelog)     php-7.4.33.tar.gz (sig) [16,474Kb] 03 Nov 2022 5a2337996f07c8a097e03d46263b5c98d2c8e355227756351421003bea8f463e   php-7.4.33.tar.bz2 (sig) [12,721Kb] 03 Nov 2022 4e8117458fe5a475bf203128726b71bcbba61c42ad463dffadee5667a198a98a   php-7.4.33.tar.xz (sig) [10,176Kb] 03 Nov 2022 924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927    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 <[email protected]> pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <[email protected]> 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 <[email protected]> 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 <[email protected]> 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) <[email protected]> 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 <[email protected]> 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 <[email protected]> uid [ultimate] Derick Rethans <[email protected]> uid [ultimate] Derick Rethans (GitHub) <[email protected]> uid [ultimate] Derick Rethans (PHP) <[email protected]> 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 <[email protected]> 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