The instructions for compiling from source on Windows are described in the php/php-windows-builder repository.