XAMPP on Windows 7?

Hi guys

I installed XAMPP on windows 7.
But I have a little problem, on DOS prompt.
When I execute c:\php while XAMPP is running it says,

"php is not recognized as internal or external command, operable program or batchfile"

By the way I already set the path variables into this below and restarted my computer.


%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Trend Micro\\AMSP;c:\\xampp\\php\\php.exe;

Thanks in advanced.

You set your path wrong. “php.exe” should not be part of the path.

XAMPP control Panel Application is working?

Your Environment variables is wrong
It must point to folder level only, like below
c:\xampp\php\

After changing Environment variables it is not required to restart computer.
Just open new command prompt and try it

You can edit your PATH by Mycomputer -> Properties -> Environment Variables.