This chapter teaches how to compile PHP from sources on windows, using Microsoft's tools. To compile PHP with cygwin, please refer to Installation auf Unix-Systemen.
See the Wiki documentation at: » http://wiki.php.net/internals/windows/stepbystepbuild