This chapter teaches how to compile PHP from sources on windows, using Microsoft's tools. To compile PHP with cygwin, please refer to Установка на Unix системы.
See the Wiki documentation at: » http://wiki.php.net/internals/windows/stepbystepbuild