How to build a release for Windows, step by step guide for Release Master or Windows Team
The main windows build box (also responsible for http://windows.php.net/snapshots/ builds) is located at our UK based Windows host (ask the Windows Team for the address) and is accessible via rdp (remote desktop protocol) not ssh. Currently Pierre, Rob, Elizabeth and Bjori have accounts on it. The VC6 and VC9 compilers are used for the builds - with service packs and the last sdk that works with vc6 (feb 2003) and PSKD 6.1 for VC9. Licenses are Pierre's copies. Details about the SDK can be found here
Libraries for the box are in c:\php-sdk\mytree\vcvers\architecture\deps
The libraries used by each PHP version are listed in here.
The snapshots and build scripts are available in CVS, module php-internals-win (no cygwin required). The batch are called using a schtasks task.
Configure lines for the release builds
PHP 5.2.x
Thread Safe
cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
Non Thread Safe
cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
PHP 5.3.x
Thread Safe
configure.bat --enable-snapshot-build --enable-debug-pack --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared
Non Thread Safe
configure.bat --enable-snapshot-build --enable-debug-pack --disable-zts --disable-isapi --disable-nsapi --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared
PHP 6
Thread Safe
configure.bat --enable-snapshot-build --enable-debug-pack --without-static-icu --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared
Non Thread Safe
configure.bat --enable-snapshot-build --enable-debug-pack --without-static-icu --disable-zts --disable-isapi --disable-nsapi --with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared --with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared