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

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

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

Post 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!
Last edited by papa on Tue Feb 23, 2010 1:48 pm, edited 1 time in total.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

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

Post 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?
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

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

Post 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. :)
Post Reply