Correct issue on Windows systems

Add to, rather than replace, environment, otherwise the process created with proc_open will not be able to access TCP/IP stack -- no network.  Use putenv() to set the required variable, then let proc_open inherit the whole env from PHP.