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 2k3 2k5 2k8 64bits Debug
bindlib No NA NA NA Y Y Y Y Y Y
pcre Yes 7.6 7.6 7.6 Y Y Y Y Y Y
zlib No 1.2.3 1.2.3 1.2.3 Y Y Y Y Y Y
libiconv No 1.12 1.12 1.12 Y Y Y Y Y Y
libxml2 No 2.6.32 2.6.32 2.6.32 Y 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 compiler
aolserverhttp://aolserver.com/N/AN/AN/A
apachehttp://httpd.apache.org/1.3.412008-01-19VC6
apache_hookshttp://httpd.apache.org/1.3.412008-01-19VC6
apache2handlerhttp://httpd.apache.org/2.0.632008-01-19VC6
apache2filterhttp://httpd.apache.org/2.0.632008-01-19VC6
apache2-2handlerhttp://httpd.apache.org/2.2.82008-01-19VC6
apache2-2filterhttp://httpd.apache.org/2.2.82008-01-19VC6
clibundledN/AN/AAll
cgi/fastcgibundledN/AN/AAll
embedbundledN/AN/AAll
isapiIIS - in Microsoft SDKN/AN/AAll
nsapihttp://www.sun.com/software/products/web_srvr/home_web_srvr.xmlunknownunknownVC6
pi3webhttp://pi3web.sourceforge.net/2.0.308/2004VC6

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

Libraries for the core extensions

Library name Project Bundled Version for 5.2.x Version for 5.3.x Version for 6.x 6.0 2k3 2k5 2k8 64bits Debug
bzip2 No 1.0.1 1.0.5 1.0.5 Y Y Y Y Y Y
libcurl No 7.16.0 7.18.1 7.18.1 Y TbD Y Y Y Y
Berkley DB No 3.1.17 TbD TbD TbD TbD TbD TbD TbD TbD
qdbm No N/A 1.8.77 1.8.77 Y TbD Y Y Y Y
libJPEG No 6b 6b 6b Y Y Y Y Y Y
libPNG No 1.2.26 1.2.26 1.2.26 Y TbD Y Y Y Y
Freetype No 2.1.9 2.3.5 2.3.5 Y Y Y Y Y Y
libxpm No N/A 3.5.7 3.5.7 Y TbD Y Y Y Y
libintl No ? 0.17 0.17 TbD TbD TbD TbD TbD TbD
libgmp No 4.1.4 4.1.4 4.1.4 TbD TbD TbD TbD TbD TbD
cclient No 2004 2007b 2007b Y TbD Y Y Y TbD
ibase No ? ? ? TbD TbD TbD TbD TbD TbD
fbclient No ? ? ? TbD TbD TbD TbD TbD TbD
ldap No 2004 2.3.42 2.3.42 Y TbD Y Y Y Y
libmcrypt No 2.5.8 2.5.8 2.5.8 Y TbD Y TbD Y Y
libmhash No 20020524 N/A N/A TbD N/A N/A N/A N/A N/A
ming No 0.3beta1 0.3beta1 0.3beta1 TbD TbD TbD TbD TbD TbD
freetds No ? ? ? TbD TbD TbD TbD TbD TbD
mysqlnd Yes 5.1.4 5.1.4 5.1.4 Y Y Y Y Y Y
libmysql No ? ? ? TbD TbD TbD TbD TbD TbD
Openssl No 0.9.8h 0.9.8h 0.9.8h Y TbD Y Y Y Y
libpg No 7.3.21 8.3.3 8.3.3 TbD TbD TbD TbD TbD TbD
dirent No 20080629 20080629 20080629 Y TbD Y Y Y Y
aspell No NA NA NA TbD TbD TbD TbD TbD TbD
ucd-snmp No 4.2.3 4.2.3 4.2.3 TbD TbD TbD TbD TbD TbD
tidy No 2007/08/15 2008/03/22 2008/03/22 Y TbD Y Y Y Y
libxslt No 1.1.23 1.1.23 1.1.23 Y TbD Y Y Y TbD
odbc32.lib No N/A 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 N/A
libbcmath N/A Yes N/A 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 N/A
libflatfile N/A Yes N/A 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 N/A
regex N/A Yes N/A 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 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 N/A
libxmlrpc N/A Yes N/A 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 N/A
sqlite3 Yes 3.3.7 3.3.7 3.3.7 N/A 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 N/A

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.

  1. fbase - Frontbase
  2. msql - Mini SQL
  3. mssql/pdo_dblib - ntwdblib, only available with Microsoft SQL Server 2000 or earlier
  4. oci8/pdo_oci - Oracle

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 No
imap cclient No
interbase ibase 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
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

  1. dom
  2. iconv
  3. libxml
  4. pcre
  5. simplexml
  6. soap
  7. xml
  8. xmlreader
  9. xmlwriter
  10. zlib
  11. zip

Extensions not needing libraries

  1. calendar
  2. ctype
  3. dbase
  4. filter
  5. ftp
  6. json
  7. mime-magic (does require file set in ini)
  8. pcntl (currently not available on windows)
  9. pdo (core)
  10. phar (although it does depend on other extensions)
  11. posix (never available on windows)
  12. recode (library not available on windows)
  13. readline (library not available on Windows)
  14. session
  15. shmop
  16. skeleton
  17. sockets
  18. spl
  19. standard
  20. sybase (old old not available on windows)
  21. sysvmsg (currently not available on windows)
  22. sysvsem (currently not available on windows)
  23. sysvshm (currently not available on windows)
  24. tokenizer
  25. 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: 2008/07/04 18:05 by pajoye
 
Atom | show source | credits | stats | sitemap | contact | advertising | mirror sites