Page 1 of 1

Just can't get this .bat to run in CMD (Zend, php.exe)

Posted: Tue Feb 23, 2010 10:53 am
by papa
Hi,

I've been trying a couple of different aproaches but can't get Zend's .bat file to run.

Zend quick start

On my new project I wanted to try Zend Framework for real. Started a thread a couple of months back but haven't been able to do anything "Zend-wise".

I've added the path to php.exe in my environment variables (Windows XP), in my case: C:\wamp\bin\php\php5.3.0 (I also added C:\wamp\ just in case). Restarted my computer, but I just get: "php.eze is not recognized..." in the command prompt. Tried the same thing at work on a Windows XP machine.

The tutorials I have read doesn't say much more than this so it should work.

I've also added: C:\php5\pear\Zend\bin to the environment vars so I can run the .bat file once I figure the php.exe problem out.

Any help is appreciated!

Go Canada go!

Re: Just can't get this .bat to run in CMD (Zend, php.exe)

Posted: Tue Feb 23, 2010 12:37 pm
by Eran
I wanted to try Zend for real
I assume by "Zend" you mean the Zend Framework (and not the company or any other product). Why don't you try to set up a project manually instead of debugging a batch file?

Re: Just can't get this .bat to run in CMD (Zend, php.exe)

Posted: Tue Feb 23, 2010 1:13 pm
by papa
pytrin wrote:
I wanted to try Zend for real
I assume by "Zend" you mean the Zend Framework (and not the company or any other product). Why don't you try to set up a project manually instead of debugging a batch file?
Not trying to debug it. Trying to run it which would create a default project for me in a perfect world.

And yes I mean Zend Framework. :)