<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Changes made to Windows support</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration53.new-features.html">New features</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration53.sapi.html">Changes in SAPI modules</a></div> <div class="up"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="migration53.windows" class="section"> <h2 class="title">Changes made to Windows support</h2> <p class="simpara"> Changes to the Windows releases: </p> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> The minimum Windows version is now Windows XP SP3; Windows 98, ME, 2000 and NT4 are no longer supported. </span> </li> <li class="listitem"> <span class="simpara"> Windows binaries now target i586 and later. i386 and i486 are not supported. </span> </li> <li class="listitem"> <span class="simpara"> There is now experimental support for x64 versions of PHP on Windows. </span> </li> <li class="listitem"> <span class="simpara"> There is now compiler support for Visual C++ 9 (VC9), using Visual Studio 2008. Snapshots and releases will now also be available for VC9. Old binaries using VC6 are still supported and released in the line with VC9. </span> </li> <li class="listitem"> <span class="simpara"> The <a href="ref.pdo-oci.html" class="link">PDO_OCI</a> <em>php_pdo_oci8.dll</em> library (for use with Oracle version 8 client libraries) is no longer being built. Instead, use <em>php_pdo_oci.dll</em> (note no '8') with Oracle 10 or 11 client libraries. Connection to other database versions is still supported. </span> </li> <li class="listitem"> <span class="simpara"> For the <a href="book.oci8.html" class="link">OCI8</a> extension, a new library <em>php_oci8_11g.dll</em> is available in addition to <em>php_oci8.dll</em>. Only one can be enabled at any time. Use <em>php_oci8.dll</em> with Oracle 10.2 client libraries. Use <em>php_oci8_11g.dll</em> with Oracle 11 or later client libraries. Connection to other database versions is still supported. </span> </li> </ul> <p class="simpara"> Windows support has been added for the following functions: </p> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.checkdnsrr.html" class="function">checkdnsrr()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.dns-get-record.html" class="function">dns_get_record()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.fnmatch.html" class="function">fnmatch()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.getmxrr.html" class="function">getmxrr()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.getopt.html" class="function">getopt()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.imagecolorclosesthwb.html" class="function">imagecolorclosesthwb()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.inet-ntop.html" class="function">inet_ntop()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.inet-pton.html" class="function">inet_pton()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.link.html" class="function">link()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.linkinfo.html" class="function">linkinfo()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.mcrypt-create-iv.html" class="function">mcrypt_create_iv()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.readlink.html" class="function">readlink()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.socket-create-pair.html" class="function">socket_create_pair()</a></span> - This function was previously available on Windows, but was disabled as of PHP 4.3.0 due to a bug. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.stream-socket-pair.html" class="function">stream_socket_pair()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.symlink.html" class="function">symlink()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.time-nanosleep.html" class="function">time_nanosleep()</a></span> </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.time-sleep-until.html" class="function">time_sleep_until()</a></span> </span> </li> </ul> <p class="simpara"> Other changes: </p> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> Improved portability of the <span class="function"><a href="function.stat.html" class="function">stat()</a></span>, <span class="function"><a href="function.touch.html" class="function">touch()</a></span>, <span class="function"><a href="function.filemtime.html" class="function">filemtime()</a></span>, <span class="function"><a href="function.filesize.html" class="function">filesize()</a></span> functions, and other related functions (100% portable for the available data). </span> </li> <li class="listitem"> <span class="simpara"> It is now possible to create hard links on Windows using the <span class="function"><a href="function.link.html" class="function">link()</a></span> function, and symbolic links using the <span class="function"><a href="function.symlink.html" class="function">symlink()</a></span> function. Hard links are available as of Windows 2000, and symbolic links as of Windows Vista. </span> </li> <li class="listitem"> <span class="simpara"> The Windows version of PHP now exposes a set of constants prefixed <em>PHP_WINDOWS_*</em>. A list of these constants and their usage can be found at <a href="info.constants.html" class="xref">Predefined Constants</a>. </span> </li> </ul> <div class="warning"><strong class="warning">Warning</strong> <p class="simpara"> Support for the ISAPI module has been dropped. Use the improved FastCGI SAPI module instead. </p> </div> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara"> A new dedicated site for PHP on Windows is now available, including downloads, release candidates, and snapshots in various flavors (thread-safe/not-thread-safe, VC6/VC9, x86/x64). The URL of this site is <a href="http://windows.php.net/" class="link external">» http://windows.php.net/</a>. </span> </p></blockquote> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration53.new-features.html">New features</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration53.sapi.html">Changes in SAPI modules</a></div> <div class="up"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>