Install Zend Framework 1.8 on Ubuntu with Zend_Tool

zendframework-ubuntu

One of new features in ZendFramework 1.8 is "Zend_Tool".
Zend_Tool
provides a command-line script that can be used to ease many common project related tasks like

  • setting up the project tree
  • add controllers
  • add actions (and related view scripts)
  • add model classes
  • etc.

This instruction will guideline you to install Zend Framework 1.8 on Ubuntu with Zend_Tool.

zendframework-ubuntu

One of new features in ZendFramework 1.8 is "Zend_Tool".
Zend_Tool
provides a command-line script that can be used to ease many common project related tasks like

  • setting up the project tree
  • add controllers
  • add actions (and related view scripts)
  • add model classes
  • etc.

This instruction will guideline you to install Zend Framework 1.8 on Ubuntu with Zend_Tool.
FYI my environment are:

  • Ubuntu 9.04 (Jaunty Jackalope)
  • Apache 2.2

 

Zend_Loader autoload deprecated in Zend Framework 1.8

Zend Framework 1.8.2

I found this notice after upgrade Zend Framework to 1.8 Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in C:\AppServ\www\league\library\Zend\Loader.php on line 207 Because Zend_Loader's autoloader has been deprecated in Zend Framework version 1.8 and I use this line in bootstrap. require_once 'Zend/Loader.php'; Zend_Loader::registerAutoload(); The solution is change them to require_once 'Zend/Loader/Autoloader.php'; $loader = Zend_Loader_Autoloader::getInstance(); $loader->registerNamespace('../application');  $loader->setFallbackAutoloader(true); $loader->suppressNotFoundWarnings(false);