Hi, Whatever steps you are given for installation of zend framework it is applicable for ubuntu 14.04 LTS?? Is it works?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
This comment has been deleted
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>
ServerName www.example.com
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
</Directory>
</VirtualHost>
Finally, restart Apache so it picks up the changes.
service apache2 restart
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.