- Install Windows XP Pro with IIS 5.1 on your Virtual Box.
Install FastCGI 1.5. Note, PHP under IIS requires FastCGI. This link provides details on what FastCGI is and how to install it.
Download PHP 5.4.28 source code and non thread safe. Unzip php-5.4.28-nts-Win32-VC9-x86.zip (the non thread safe binary) to C:\PHP on your Virtual Machine.
From the windows control panel proceed to administrative tools –> internet information server. Set index.php as a default document.
From your root webfolder (C:\inetpub\wwwroot) create a file and call it index.php. Edit index.php to contain the following:
<?php php_info(); ?>
Open up your web browser and go to http://localhost. If PHP is configured correctly you will get this:
Your done, you have successfully installed a test environment.
Next, creating a compile environment for making a PHP extension.