Installing The Zend Framework

Share your find
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

UPDATE:

This article has been updated, please see “How to Install Zend Framework

http://framework.zend.com/

Extending the art & spirit of PHP, Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase. Zend Framework is focused on building more secure, reliable, and modern Web 2.0 applications & web services, and consuming widely available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as well as API providers and cataloguers like StrikeIron and ProgrammableWeb.
http://framework.zend.com/about/overview

Installing Zend Framework from the command line

Connect to your server with a command line tool like PuTTY

PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.

Here are the command line steps

These steps are executed by super user (su) in your site’s root directory

  1. wget http://framework.zend.com/releases/ZendFramework-1.7.0/
    ZendFramework-1.7.0.tar.gz
  2. tar -xzvf ZendFramework-1.7.0.tar.gz
  3. rm ZendFramework-1.7.0.tar.gz
  4. mv ZendFramework-1.7.0/library/Zend /usr/local/lib/php
  5. rm -rf ZendFramework-1.7.0

Command line steps explained

  1. Get file package from site.
    wget http://framework.zend.com/releases/ZendFramework-1.7.0/
    ZendFramework-1.7.0.tar.gz
  2. Decompress the file.
    tar -xzvf ZendFramework-1.7.0.tar.gz
  3. Delete the compressed file.
    rm ZendFramework-1.7.0.tar.gz
  4. Move the library files to your standard location.
    Note:
    This is usually something like “/usr/local/lib/php”, but you may need to check your PHP Include Path to validate your standard location.
    mv ZendFramework-1.7.0/library/Zend /usr/local/lib/php
  5. Delete the decompressed directory and all it’s contents.
    rm -rf ZendFramework-1.7.0

Setup Zend Framework Directories

Move just outside of site root directory to create your Applications directory.

  • mkdir applications
  • mkdir applications/data
  • mkdir applications/data/logs
  • mkdir applications/data/tmp
  • mkdir applications/data/tmp/templates_c
  • mkdir applications/controllers
  • mkdir applications/views
  • mkdir applications/templates

The Zend Framework site offers offers Zend Framework installation steps that are a little different than the steps explained here.

One thought on “Installing The Zend Framework”

Comments are closed.