Reputation: 305
I installed php eclipse in my system i wrote sample php program and try to run it i'm getting error like this
Exception occurred executing command line.
Cannot run program "C:\Program Files\xampp\php" (in directory "C:\Program Files\xampp\php\www\Hello world"): CreateProcess error=5, Access is denied
Upvotes: 0
Views: 695
Reputation: 46650
Try naming your projects without spaces & installing XAMPP somewhere other then in Program Files like on the root C:
C:\xampp\php\www\HelloWorld
Most command line programs (EG:The launcher in this case) have problems with spaces in files & folder names, including the /Program Files/
directory.
Or in eclipse change the path to php.exe to C:\PROGRA~1\xampp\php
Upvotes: 1