We are using cookies in the page. If you use the page you agree for the cookies.
Close
Zend Framework 1.11.12 installation in Ubuntu 12.04
- Extract archive containing Zend Framework to any directory.
- Go to subdirectory bin of Zend Framework.
-
Create symlink zf to file zf.sh:
ln -s zf.sh zf
-
Add path to ZF/bin to system PATH variable at the end of /etc/profile file, ex:
PATH="/var/www/lib/ZendFramework-1.11.12/bin:$PATH"
export PATH
-
If we get following error during running zf command from arbitrary directory:
Could not open input file: ./zf.php
then we must do correction to the zf.sh file:
#PHP_DIR="$(dirname "$SELF_LINK")"
PHP_DIR="$(dirname "$0")"