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:
- Overwrite the
php
folder of your XAMPP with the contents of the corresponding folder inrelease\
(typicallyrelease\x86\
). - Install Visual C++ 2012 redistributable, if required. You can get it from
downloads\
. - This build bundles all supported extensions except for
curl
,fileinfo
andxdebug
(also ported to XP) so comment out allextension=xxx
lines inphp.ini
except for these.
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 |
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).
apache2_4handler
cli
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
).