I can write code and compile it, but when I try to execute I get:

 

Process failed (Create process failed)

 

The executable command in build->set build commands is: c:\xampp\php\php.exe -l "%f"

 

Any idea?

I have had the same problem a few days ago. This is what I did:

* added the directory (C:\xampp\php\ in your case) to PATH system environment variable
* restarted the computer

Then it worked. Nick Treleaven said the following:

In the latest Git version, I've added a status bar message explaining that the process timed out - although really it is not a time out but a bug in Windows process spawning. If you build from source, you can replace '30*1000' in src/win32.c to something smaller like '5*1000' for 5s, but this causes problems if a process really does take more than that time.

I've tried to find a real solution but failed, and ideally it should be asynchronous spawning anyway.