How to install Zend frame work on a Linux and test it

Note :  This guide is for Admins only , who  is going to install Zend for the first time

Here I simply describe about how to install Zend framework and create a sample project

My server is running on Fedora 9, PHP5

Step 1:

Download the Zend framework (MINIMAL PACKAGE).  I have downloaded http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz

Step2:  Extract the package

Step3:  Create Sample Project using Zend

Go to the any web directory say, /var/www/html/test

Now call the zf.sh file in the bin folder of zend framework to create new project

In my case I extracted the zend framework in /var/ww/html/zend-framework

So I called the zf.sh file as follows

/var/www/html/zend-framework/bin/zf.sh create project zendtest

Now a project called called “ zendtest “  has been created in the current directory. This project will have four Sub folders.

Now we need to include the Libraries in the zend framework in our new project. To do that, just copy the folder called Zend from the library folder of our zend framework.  (in my case I copied /var/ww/html/zend-framework/library/Zend ).

That’s all, we have created a sample  project in Zend framework. We can test it using browsing the Public folder in the new project

http://localhost/ test/zendtest/public/

IonCube Standalone PHP Encoder

You can leave a response, or trackback from your own site.

12 Responses to “How to install Zend frame work on a Linux and test it”

  1. Need to check it in my dev server…seems a good step by step…

    Thanks for sahring it buddyy….

    You really Rockss :-)

  2. gaurav says:

    Thanks buddy. this is really very helpful.

  3. sridevi says:

    I am trying to open the web page with the created project. But its not displaying any thing.

    Can anybody help me, please

  4. Aneesh Aneesh says:

    Try to enable Error in your PHP code and see

    ini_set(”display_errors”,”1″);

  5. Rajesh says:

    Hi when creating project i am getting fatal error.Plz help me.

    Fatal error: Class ‘DOMDocument’ not found in /var/www/html/zend-framework/library/Zend/Tool/Project/Profile/FileParser/Xml.php on line 77

  6. Sridevi says:

    Thanks, now its displaying the Zend framework home page.

  7. shark says:

    hi i extracted the zend framework and it is in my C:\ZendFramework-1.10.8\bin\zf.sh create project zendtest

    im getting the next line in the command prompt as C:\ZendFramework-1.10.8\bin

    and no zendtest project is created in the directory….

    please can any one helpme in this

  8. shark says:

    i need to install the zend framework and also create a sample project like zend test can anyone pls hellp me in this isssue.

  9. shark says:

    wheather i need to run zf.sh create project zendtest in the cmd prompt

    i ran it but as mentioned above the project is not created in the c directory.

  10. still error for me.. huuuft

  11. Thea Ganoe says:

    These were good instructions for me…thanks. I have Ubuntu Linux and XAMPP (from Apache Friends) installed. I did have to install pdo_extensions

    apt-get install php-pear php5-dev libmysqlclient15-dev
    pecl install pdo
    pecl install pdo_mysql

    Shark…your problem might be that you’re on a Windows machine (just a guess since you mentioned C: drive ) you should use zf.bat not zf.sh

  12. Rick M says:

    Thank you, I have recently been searching for info about this subject for a long time and yours is the best I’ve came upon so far. But, what concerning the bottom line? Are you positive about the supply?

Leave a Reply

Subscribe without commenting


Fatal error: Call to undefined function wp_list_addonn() in /home/hellosys/public_html/wp-content/themes/Grante/sidebar.php on line 106