Re: ZF tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sincerely
Negin Nickparsa

On Mon, Dec 8, 2014 at 11:40 AM, Stuart Dallas <stuart@xxxxxxxx> wrote:

>  On Monday, Dec 8, 2014 at 7:10 pm, Negin Nickparsa <nickparsa@xxxxxxxxx>,
> wrote:
>
>>  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" "$@"
>>
>
> Didn’t notice that you’re using Windows. The script you’re trying to
> execute is NOT a PHP script. Someone more familiar with Windows than I am
> these days will need to help you. Based on the documentation [1] I’d guess
> you haven’t installed the tool correctly, so you might want to start again.
> I’d recommend using the .phar file as suggested in the “Without
> installation” section.
>
> -Stuart
>
> [1]
> http://framework.zend.com/manual/2.0/en/modules/zendtool.introduction.html
>
>
> Stuart Dallas
> 3ft9 Ltd
> http://3ft9.com/
>

​Thank you,actually I used the phar file already and I had no results now I
used the manual installation with your help and it seems now I have zftool
correctley but ​

​I don't know how to create ZF2 folder which it is talking about​

>
>  On Mon, Dec 8, 2014 at 11:03 AM, Stuart Dallas <stuart@xxxxxxxx> wrote:
>>
>>>   On Monday, Dec 8, 2014 at 6:59 pm, Negin Nickparsa <
>>> nickparsa@xxxxxxxxx>, 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/
>>>
>>
>>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux