Revert: On windows PHP_FCGI_CHILDREN=5 php-cgi -b 9876 manages its children using AssignProcessToJobObject. However, when php-cgi is started from Java, the job object is that of the Java process. To fix this CreateProcess has a new flag CREATE_BREAKAWAY_FROM_JOB (since Vista). Unfortunately we cannot set this flag from Java (using ProcessBuilder), so we have to use our own wrapper. Instead of using a wrapper like php-fpm (for which we would have to supply our own windows 32/64 bit binary anyway), we decided to use our existing wrapper "launcher.exe".