Installation of Zend Framework @ Ubuntu

I’m currently working with the YouTube API for some webprojects, and this is using the Zend Framework. Therefore will I make this little guide, and show how to install the Zend Framework on Ubuntu.

In this guide I’ll be using the following:

  • Ubuntu Server 11.10
  • Zend Framework latest Library as 1.11.11. Download it form here.

First of, download the Zend Framework with wget:

After the download is complete, its time to extract it. I’ll extract it to /usr/local.

Then rename the folder to ZendFramework

Now set the right permissions:

Now are we ready to enable the Zend Framework tool and enable the Zend Framework in PHP. First enable the tool, which is done by creating a symlink:

Test the tool by typing the following command:

Which should give a output like this:’

The final step is to enable Zend Framework in the php.ini file. Open php.ini in your preferred editor, I use vi

Search for “include_path”, which default looks like this:

Add the path for the Zend Framework library (remember to remove the ; at the beginning):

Save the file and exit. Restart apache, and you are good to go!

Now you can start programming with Zend Framework! – Happy coding!

Leave a Reply

Your email address will not be published. Required fields are marked *