PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net


 

Libraries Needed to Build on Windows

Libraries are available for download at http://pecl2.php.net/downloads/php-windows-builds/php-libs/

Mandatory

Library name Project Bundled Version for 5.2.x Version for 5.3.x Version for 6.x 6.0 2k5 2k8 64bits Debug
bindlib No CVS NA NA Y Y Y Y N
pcre Yes 7.6 7.6 7.6 Y Y Y Y Y
zlib No 1.2.3 1.2.3 1.2.3 Y Y Y Y Y
libiconv No 1.12 1.12 1.12 Y Y Y Y Y
libxml2 No 2.7.3 2.7.3 2.7.3 Y Y Y Y Y
ICU No NA 3.6/3.8.1 4.0 Y Y Y Y Y

SAPIS

SAPI's are reliant on third party libraries to link against, and since client and server compiler versions should match, these are not distributed by PHP (we are not in the server business)

SAPI server version released VC6 V8 V9
aolserverhttp://aolserver.com/ N/A N/A N/A N/A N/A
apache (1.x) http://httpd.apache.org/ 1.3.41 2008-01-19 Yes N/A N/A
apache_hooks (1.x) http://httpd.apache.org/1.3.412008-01-19 Yes N/A N/A
apache2handlerhttp://httpd.apache.org/2.0.632008-01-19 Yes TbD TbD
apache2filterhttp://httpd.apache.org/2.0.632008-01-19 Yes TbD TbD
apache2-2handlerhttp://httpd.apache.org/2.2.92008-01-19 Yes TbD TbD
apache2-2filterhttp://httpd.apache.org/2.2.92008-01-19 Yes TbD TbD
clibundledN/AN/A Yes Yes Yes
fastcgi/cgibundledN/AN/A Yes Yes Yes
embedbundledN/AN/A Yes Yes Yes
isapiIIS - in Microsoft SDKN/AN/A Yes Yes Yes
nsapihttp://www.sun.com/software/products/web_srvr/home_web_srvr.xmlunknownunknown Yes TbD TbD
pi3webhttp://pi3web.sourceforge.net/2.0.308/2004 Yes TbD TbD

Aolserver does not provide binaries, and so is not currently being built for PHP

Libraries for the core extensions

Libraries are available for download at http://pecl2.php.net/downloads/php-windows-builds/php-libs/

Library name Project Bundled Version for 5.2.x Version for 5.3.x Version for 6.x 6.0 2k5 2k8 64bits Debug
bzip2 No 1.0.1 1.0.5 1.0.5 Y Y Y Y Y
ICU No NA 3.6/3.8.1 (*) 3.6/4.2.0 (*) Y TbD Y Y TbD
libcurl No 7.19.6 7.19.6 7.19.6 Y TbD Y Y Y
libssh2 No NA NA/1.1.0 (*) NA/1.1.0 (*) Y TbD Y Y Y
Berkley DB No 3.1.17 TbD TbD TbD TbD TbD TbD TbD
qdbm No N/A 1.8.77 1.8.77 Y Y Y Y Y
libJPEG No 6b 6b 6b Y Y Y Y Y
libPNG No 1.2.37 1.2.37 1.2.37 Y N Y Y Y
Freetype No 2.1.9 2.3.9 2.3.9 Y Y Y Y Y
libxpm No N/A 3.5.7 3.5.7 Y Y Y Y Y
libintl No ? 0.17 0.17 Y Y Y Y Y
libgmp No 4.1.4 NA NA TbD TbD TbD TbD TbD
mpir No NA 1.2.1 1.2.1 NA NA Y Y TbD
libpq No 8.3.6 8.3.6 8.3.6 Yes TbD Y Y TbD
cclient No 2004 2007e 2007e Y Y Y Y TbD
ibase No ? ? ? TbD TbD TbD TbD TbD
fbclient No ? ? ? TbD TbD TbD TbD TbD
ldap No 2004 2.3.42 2.3.42 Y Y Y Y Y
libmcrypt No 2.5.8 2.5.8 2.5.8 Y Y Y Y Y
freetds No ? ? ? TbD TbD TbD TbD TbD
ming No 0.3beta1 NA NA TbD TbD TbD TbD TbD
mysqlnd Yes 5.1.4 5.1.4 5.1.4 Y Y Y Y Y
libmysql No 5.0.51a N/A N/A TbD N/A N/A N/A TbD
Openssl No 0.9.8k 0.9.8k 0.9.8k Y Y Y Y Y
aspell No NA NA NA TbD TbD TbD TbD TbD
ucd-snmp No 4.2.3 4.2.3 4.2.3 TbD TbD TbD TbD TbD
tidy No 2007/08/15 2009/03/25 2009/03/25 Y Y Y Y Y
libxslt No 1.1.23 1.1.23 1.1.23 Y Y Y Y TbD
libmhash No 20020524 N/A N/A TbD N/A N/A N/A N/A
odbc32.lib No N/A N/A N/A N/A N/A N/A N/A N/A
oleaut32.lib No N/A N/A N/A N/A N/A N/A N/A N/A
libbcmath N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
libinifile N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
libflatfile N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
libcdb N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
regex N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
oniguruma Yes 4.4.4 4.4.4 4.4.4 N/A N/A N/A N/A N/A
libmbfl N/A Yes 1.1.0 1.1.0 1.1.0 N/A N/A N/A N/A N/A
libxmlrpc N/A Yes N/A N/A N/A N/A N/A N/A N/A N/A
sqlite2 Yes 2.8.17 2.8.17 2.8.17 N/A N/A N/A N/A N/A
sqlite3 Yes 3.3.7 3.3.7 3.3.7 N/A N/A N/A N/A N/A
timezonedb Yes N/A N/A N/A N/A N/A N/A N/A N/A

(*) VC6 / VC9

Libraries used by our windows ports of the different libraries (not when building only php)

Libraries are available for download at http://pecl2.php.net/downloads/php-windows-builds/php-libs/

Library name Project Bundled Version for 5.2.x Version for 5.3.x Version for 6.x 6.0 2k5 2k8 64bits Debug
dirent No 20080629 20080629 20080629 Y Y Y Y Y

Third Party Libraries

Third party libraries are not available in our repositories. The reason are the miscellaneous restricted licenses and non open sources code. However, we are authorized to distribute them with our PHP releases but not their SDK.

Extensions and their libraries

Extension Library name Project Bundled
bcmath libbcmath Yes
bz2 bzip2 No
com_donet oleaut32.lib No
curl libcurl No
date timezonedb Yes
dba Berkley DB No
qdbm No
libinifile Yes
libflatfile Yes
libcdb Yes
ereg regex N/A Yes
gd libJPEG No
libPNG No
Freetype No
libxmp No
gettext libintl No
gmp libgmp or mpir No
ibm_db2 ibm_db2 Yes
imap cclient No
interbase ibase No
intl icu No
pdo_firebird fbclient No
ldap ldap No
mbstring oniguruma Yes
libmbfl N/A Yes
mcrypt libmcrypt No
mhash libmhash No
ming ming No
mssql freetds No
pdo_mysql mysqlnd Yes
libmysql No
mysqli mysqlnd Yes
libmysql No
mysql mysqlnd Yes
libmysql No
oci8 oci8 Yes
pdo_odbc odbc32.lib No
odbc odbc32.lib No
openssl Openssl No
pdo_sqlite sqlite Yes
sqlite sqlite Yes
pgsql/pdo_pgsql libpg No
pgsql libpg No
pspell aspell No
snmp ucd-snmp No
tidy tidy No
xmlrpc libxmlrpc Yes
xsl libxslt No

Extensions using mandatory libs

  • dom
  • iconv
  • libxml
  • pcre
  • simplexml
  • soap
  • xml
  • xmlreader
  • xmlwriter
  • zlib
  • zip

Extensions not needing libraries

  • calendar
  • ctype
  • dbase
  • filter
  • ftp
  • json
  • mime-magic (does require file set in ini)
  • pcntl (currently not available on windows)
  • pdo (core)
  • phar (although it does depend on other extensions)
  • posix (never available on windows)
  • recode (library not available on windows)
  • readline (library not available on Windows)
  • session
  • shmop
  • skeleton
  • sockets
  • spl
  • standard
  • sybase (old old not available on windows)
  • sysvmsg (currently not available on windows)
  • sysvsem (currently not available on windows)
  • sysvshm (currently not available on windows)
  • tokenizer
  • wddx

PECL Extensions

General Compiling Guidelines

Any makefiles, project files, source, .rc files - basically anything used to compile a library for PHP should be bundled into a source distribution.

dlls should have a .rc file with a minimum of the version and compiler used

Because windows doesn't differentiate between static libs and dll stub libs (both end in .lib) use a _a suffix for a static lib (libxml2_a.lib)

Any debug version of a library or dll should have a _debug suffix

 
internals/windows/libs.txt · Last modified: 2009/11/20 12:21 by ambrish
 
Atom | show source | credits | stats | sitemap | contact | advertising | mirror sites