Skip to content
PHP 5.6.24 port for Windows XP (x86 SP3, x64 SP2)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
downloads Updated docs Dec 22, 2017
extensions
phpdev/vc11 Various minor fixes Jan 2, 2018
release updated docs, binaries Dec 27, 2017
test Binaries cleanup Dec 23, 2017
README.md
build_curl.md
build_php.md Various minor fixes Jan 2, 2018
build_xdebug.md Readme fixes Jan 2, 2018

README.md

PHP 5.6.24 port for Windows XP (x86 SP3, x64 SP2)

Tested on XAMPP 1.8.1, Apache 2.4.3 (service also works):

https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.8.1/

To install:

  1. Overwrite the php folder of your XAMPP with the contents of the corresponding folder in release\ (typically release\x86\).
  2. Install Visual C++ 2012 redistributable, if required. You can get it from downloads\.
  3. This build bundles all supported extensions except for curl, fileinfo and xdebug (also ported to XP) so comment out all extension=xxx lines in php.ini except for these.

php -v

PHP 5.6.24 (cli) (built: Oct  6 2016 08:55:15)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Compilation settings
Build type Release
Thread safety yes
Compiler MSVC11 (Visual C++ 2012)
Architecture x86
Optimization PGO disabled
Static analyzer disabled

Extensions

bz2
calendar
Core
ctype
[curl]
date
dom
ereg
exif
[fileinfo]
filter
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
[xdebug]
xml
xmlreader
xmlrpc
xmlwriter
zip
zlib

More prebuilt extensions are available here (source).

If PHP fails to load extensions - make sure your %PATH% doesn't have conflicting versions (more here).

Enabled SAPIs

apache2_4handler
cli

working-tree branch

The working-tree branch contains code prepared for compilation with Visual Studio, with necessary patches and projects (you still need the necessary prerequisites). You can use it if you're lazy and don't want to patch your own sources according to instructions (build_php.md, build_curl.md, build_xdebug.md).

You can’t perform that action at this time.