-1

I am trying to learn zend framework. I am using the quick start tutorial provided at the site for this. While, I am going on, I noticed that the zend tool commands provided at that site, is not intended for windows system.

The point I am stuck in is

% zf configure db-adapter \
> 'adapter=PDO_SQLITE&dbname=APPLICATION_PATH "/../data/db/guestbook.db"' \
> production

How to run this command in CMD? I have tried several variations but they all give wrong output. Also, it would be great full if you could point me to a reference from which I could learn zend tool commands for windows.

mrN
  • 3,734
  • 15
  • 58
  • 82

1 Answers1

3

It is not true that it is not intended for Windows. With every version of Zend Framework you get a zf.bat for Windows! The commands are exactly the same for all OSs. So the only thing you have to do to make it work is to add the path to the ...\bin direcotry where the zf.bat is located to your windows system path.

Zend_Tool_Framework Programmer's Reference Guide

DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601
markus
  • 40,136
  • 23
  • 97
  • 142
  • Please read the question clearfully. I have mentioned `zend tool commands provided at that site, is not intended for windows` not the zend tool itself. – mrN Apr 25 '11 at 05:55
  • of course if you enter the command exactly in the way you posted it, it won't work on any platform. but I assume you don't. – markus Apr 25 '11 at 06:12
  • I have found the correct one. So you are the one who is wrong. Check my answer to find the command for windows. – mrN Apr 25 '11 at 06:35
  • Oops.. I thought I posted the answer. Turns out it was asking for spam verification. – mrN Apr 25 '11 at 07:44
  • May be he is write about the slashes part but not for others. – mrN Apr 25 '11 at 11:07