+5  A: 

You'll have to add the directory in which the php executable is located to your "path" variable (I guess in your case that would be E:\logiciels\UwAmp\apache\php_5.2.11 ). In Windows, you can do that as described here: http://www.computerhope.com/issues/ch000549.htm

Any directory you place in this path variable (they're separated by a semicolon) will be automatically used in, for example, a cmd shell.

Rob
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;E:\logiciels\UwAmp\apache\php_5.2.11 <------------- that's how it looks now
Tristan
Thnaks, it's working !
Tristan
php.exe is really in "E:\logiciels\UwAmp\apache\php_5.2.11" and not in a subdirectory of it?
Rob
yeap ;) thanks it's working ;)
Tristan
+2  A: 

You need to add the path where the binary resides in to the PATH variable. You can do this on XP and Win 7 under the System -> User settings -> User variables

halfdan