ZFTool is a maintenance tool for Zend Framework applications. There are several ways to install it. I am using it from a PHAR file.
$ mkdir -p /usr/lib/ZendFramework/zftool
$ cd /usr/lib/ZendFramework/zftool
$ wget http://packages.zendframework.com/zftool.phar
$ ln -s /usr/lib/ZendFramework/zftool/zftool.phar /usr/bin/zf
$ chmod 755 /usr/bin/zf
It works when I run the tool outside of the ZF application. But now I tried this in the application and got this error:
root@devvm:/usr/lib/ZendFramework/test
Why is this happening? How to avoid this behavior?
source
share