chartahir — 2007-08-26T02:43:39-04:00 — #1
I've just start working on symfony framwork and having a problem.
(I'm working on Windows XP, and xampp installed.)
I've start working with symfony sandbox, and i've installed symfony framwork successfully.
In a dcoument it was wirtten that to execute the following command from command prompt:
> php symfony propel-build-model:
Make sure to be at the root of your project (sf_sandbox/) when you call the symfony command.
but when i execute the command i got the error message:
php is not recognized as an internal or external command.
I think i've to add the environment variables for PHP but how,
and if is there any other mistake i'm doing please guide me.
logic_earth — 2007-08-26T04:32:18-04:00 — #2
Right-click My Computer > Properties > Advanced > Button button Environment Variables > System variables list box.
Look for Path > Edit > Add the path to PHP something like this D:\Programs\Development\Xampp\php
Use a ; divide paths.
chartahir — 2007-08-26T15:08:02-04:00 — #3
i've done as you have told, but it isn't working, i've restarted my pc too,
i've given variable the name PHP in capital letters and the path is :D:\Project Files\xampp\php\
logic_earth — 2007-08-26T18:11:52-04:00 — #4
No, You just edit the variable "PATH" (case doesn't matter) and add ";D:\Project Files\xampp\php\" to it.
chartahir — 2007-08-27T01:53:45-04:00 — #5
thanks buddy, it works
Thanks a lot.