The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

zend framework

Discussion in 'General Discussion' started by olivehosteur, Apr 6, 2009.

  1. olivehosteur

    olivehosteur Member

    Jan 21, 2009
    Likes Received:
    Trophy Points:
    how to installe the Zend Framework? please

    thanks in advance
  2. ksagarpankaj

    ksagarpankaj Registered

    Feb 25, 2009
    Likes Received:
    Trophy Points:
    How to Install the Zend Framework

    I hope this is helpful to you...

    How to Install the Zend Framework

    Installing the Zend Framework is easy and for the most part, painless. The Zend Framework is simply a collection of PHP scripts and their containing directories, so all that is required for installation is copying the framework's files onto your webserver, and ensuring your application can access it.

    Which version do I want?
    The short answer...the latest! No sense in being outdated before your project even gets started! Granted, the past versions have had more time to be thoroughly analyzed by the developer community (and any potential bugs discovered), but Zend produces a great project and pays great attention to making sure things work. Of course there will be bugs, but the latest version released by Zend is likely to be very stable and secure. If you are more adventurous, you can download a development release, but this is not recommended for production websites.

    Minimal or Full Installation?
    To get started, you'll need to download the code from Zend. There are two versions of the Zend Framework, which are 'Full' and 'Minimal'. A 'Full' installation simple includes the Dojo javascript libraries and all demo and test scripts, in addition to the PHP scripts that make up the Zend Framework. Unless you know you'll be using Dojo or would like to explore the demos and tests, I recommend getting the 'Minimal' version, which includes all code necessary to use the Zend Framework.

    Be sure to scroll down and download the .zip or .tar.gz file towards the end of the page, since if you click on the 'full' or 'minimal' links in the center of the page, Zend will try to have you sign up for an account, which is not needed to install the Zend Framework.

    Latest version of Zend Framework

    It's downloaded, now what?
    Once your download has completed, extract it and open up the folder that is produced. If you downloaded the 'Full' version, you will see several folders, including 'library', 'incubator', 'demos', 'externals', and maybe a few others. If you downloaded 'Minimal', you will only see 'library'. 'Library' is the payload here...the Zend Framework itself. Arm your FTP client, we're going in.

    The best place to install the Framework onto your webserver is outside of the web root, in a folder called 'libraries'. This is somewhat a matter of personal choice, but by having a 'libraries' folder outside of web root, you can install many different PHP libraries into one convenient place, and they are not accessible from the web. Sweet! So let's imagine you have a directory structure similar to this (different web hosts are different, but you should have something similar):


    / (web root)



    Create a 'libraries' folder right next to your web root ('/'). Go back to your downloaded copy of Zend Framework, and upload the contents of the 'library' folder (should be one directory, named, of all things, 'Zend') into the just created 'libraries' folder on your server.

    It's on the server. Sweet!
    Congrats, the Zend Framework is now installed on your server, and you can start to take over the world! Well, at least you can easily make a quality website, which is a start.


Share This Page