Installation of zend framework

  • Posted February 23, 2015

Hi, Whatever steps you are given for installation of zend framework it is applicable for ubuntu 14.04 LTS?? Is it works?


Which instructions are you referring to when your asking if they are compatible with Ubuntu 14.04?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

There are a number of ways to install the Zend framework on Ubuntu 14.04. The simplest is to use the packages provided by Ubuntu:

sudo apt-get install zend-framework

This will install the command-line tool and the libraries. You’ll also want to configure a basic LAMP stack before you proceed. This tutorial will get you started:

Then to set up a blank Zend project, you can run:

cd /var/www
zf create project ZendApp
ln -s /usr/share/php/libzend-framework-php/Zend /var/www/ZendApp/library/

Next you’ll want to edit your Apache configuration to point to your new project. Run:

nano /etc/apache2/sites-enabled/000-default.conf 

Then, make it match the following. Make sure to have DocumentRoot match where you created the project’s public folder.

<VirtualHost *:80>

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/ZendApp/public

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

      <Directory /var/www/ZendApp/public>
          DirectoryIndex index.php
          AllowOverride All
          Order allow,deny
          Allow from all


Finally, restart Apache so it picks up the changes.

service apache2 restart

This comment has been deleted

This comment has been deleted