Notepad:Zend Setup

From Amar
Jump to navigationJump to search
***************************** ZF ERROR ********************************

In order to run the zf command, you need to ensure that Zend Framework is inside your include_path. There are a variety of ways that you can ensure that this zf command line tool knows where the Zend Framework library is on your system, but not all of them can be described here.

The easiest way to get the zf command running is to give it the include path via an environment variable ZEND_TOOL_INCLUDE_PATH or ZEND_TOOL_INCLUDE_PATH_PREPEND with the proper include path to use, then run the command "zf --setup". This command is designed to create a storage location for your user, as well as create the zf.ini file that the zf command will consult in order to run properly on your system.

Example you would run:

$ ZEND_TOOL_INCLUDE_PATH=/path/to/library zf --setup

Your are encouraged to read more in the link that follows. Zend_Tool & CLI Setup Information (available via the command line "zf --info")

  * Home directory found in environment variable HOME with value /home/lax
  * Storage directory assumed in home directory at location /home/lax/.zf/
  * Storage directory does not exist at /home/lax/.zf/
  * Config file assumed in home directory at location /home/lax/.zf.ini

To change the setup of this tool, run: "zf --setup"