Thursday, June 3, 2010

Setting up Zend Tool (php framework)- Linux

Extract the downloaded archive file, ZendFramework-1.10.0-minimal.zip in your Downloads
directory by double clicking on it.
• Copy to /usr/local/ZendFrameworkCli by opening Terminal and typing:
sudo cp -r ~/Downloads/ZendFramework-1.10.0-minimal /usr/local/
ZendFrameworkCli
• Edit your bash profile to provide an alias:
• From Terminal, type: open ~/.bash_profile
• Add alias zf=/usr/local/ZendFrameworkCli/bin/zf.sh to the end of the file
• Save and exit TextEdit.
• Exit Terminal.

You can test your installation of the Zend_Tool command line interface by opening a Terminal or Command
Prompt and typing:
zf show version
If all has worked, you should see:
Zend Framework Version: 1.10.0

No comments:

Post a Comment