Posts Tagged zend_tool

Zend_Tool Set-up

Download Zend Framework (1.8.0 is the current version at present… change as needed):

wget http://framework.zend.com/releases/ZendFramework-1.8.0/ZendFramework-1.8.0-minimal.tar.gz

Unpack the downloaded file:

tar zxvf ~/Downloads/ZendFramework-1.8.0-minimal.tar.gz

Move into that unpacked directory:

cd ~/Downloads/ZendFramework-1.8.0-minimal

Find out where your PHP binary is:

which php

Put zf.sh and zf.php into the same dir as the PHP binary:

cp bin/zf.sh bin/zf.php /Applications/MAMP/bin/php5/bin/

Find out your include path:

php -i | grep "include_path"

Put the contents of the library folder into that location:

cp -r library/* /Applications/MAMP/bin/php5/lib/php/

Test Zend_Tool:

zf.sh show version

For ease of use, let’s alias zf.sh to just zf. First open your bash login file:

vim ~/.bash_login

Add this line:

alias zf=zf.sh

You are now set up. Next stop, actually creating a project with Zend_Tool!

          

, , ,

No Comments