MSI Installer Build Instructions
Pre-requisites
- .NET Framework 1.1 SP1 Runtime installed
- PHP Windows zip binary distribution
- The pre-compiled PECL extensions for Windows from http://pecl4win.php.net/branch.php
- Copy of PHP Manual in CHM format.
- Local Checked out copy of this directory
Build Steps
- Unzip the PHP Windows zip binary distribution into the “Files” directory.
- Unzip the PECL extensions zip file for the branch into the “Files/pecl” directory.
- Copy PHP Manual CHM File into the “Files” directory.
- Run the “build.bat” script with the first arguement as the version you are building for.
- If you are building the installer for the non-thread-safe binaries, include “nts” ( without the quotes ) as the second argument.
Example for building for PHP version 5.2.0; the resulting installer filename will be php-5.2.0-win32-VC6-x86-install.msi.
build.bat 5.2.0
Example for building for PHP version 5.2.5 with non-thread-safe binaries; the resulting installer filename will be php-5.2.5-nts-win32-VC6-x86-install.msi.
build.bat 5.2.0 nts
Example for building for PHP version 5.3.0beta1 with VC9 binaries; the resulting installer filename will be php-5.3.0beta1-win32-VC9-x86-install.msi.
build.bat 5.3.0beta1 vc9
Example for building for PHP version 5.3.0 with non-thread-safe and VC9 built binaries; the resulting installer filename will be php-5.3.0-nts-win32-VC9-x86-install.msi.
build.bat 5.3.0 nts vc9
Example for building for PHP version 5.3.0 with VC9 x64 built binaries; the resulting installer filename will be php-5.3.0-win32-VC9-x64-install.msi.
build.bat 5.3.0 x64
Example for building for PHP version 5.3.0 for a snapshot build; the resulting installer filename will be php-5.3.0-win32-VC6-x86-install-latest.msi.
build.bat 5.3.0 latest