Re: ZF tool
| From: | Negin Nickparsa | Date: | Mon, 08 Dec 2014 19:10:42 +0000 |
| Subject: | Re: ZF tool | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324091@lists.php.net to get a copy of this message | ||
still the same:
c:\wamp\bin\php\php5.5.12>php c:\wamp\www\ZendApplication\vendor\bin\zf.php
create module test
SRC_DIR="
pwd"
cd "dirname "$0""
cd "../zendframework/zftool"
BIN_TARGET="pwd/zf.php"
cd "$SRC_DIR"
"$BIN_TARGET" "$@"
Sincerely
Negin Nickparsa
On Mon, Dec 8, 2014 at 11:03 AM, Stuart Dallas <stuart@3ft9.com> wrote:
> On Monday, Dec 8, 2014 at 6:59 pm, Negin Nickparsa <nickparsa@gmail.com>,
> wrote:
>
>> I want to use ZF tool to create a module in zend framework
>> I installed zftool where I had composer.phar file which wasn't my root
>> directory and then it created the folder of vendor so I replaced this
>> vendor folder with the one it was in zend application
>> I went to where I installed the zend framework and I did create the module
>> with this command:
>>
>> c:\wamp\www\ZendApplication\vendor\bin>php zf.php create module test
>>
>> unfortunately it didn't create the module and I have this error:
>> SRC_DIR="pwd"
>> cd "dirname "$0""
>> cd "../zendframework/zftool"
>> BIN_TARGET="pwd/zf.php"
>> cd "$SRC_DIR"
>> "$BIN_TARGET" "$@"
>>
>> does anyone had any same experience?any ideas what I should do about it?
>> I googled it but I found a few people reported such a thing I might be
>> wrong on my installation I don't know
>
> I’m not familiar with zftool, but that “error” looks awfully like a shell
> script. Don’t execute it with PHP, try it with bash.
>
> -Stuart
>
> —
> Stuart Dallas
> 3ft9 Ltd
> http://3ft9.com/
>