Friday, 18 January 2013

Installing Zend Framework


Zend Framework


Installing Zend Framework in WAMP (Windows (7) , Apache , MySQL , PHP) :-

I used the following version of the softwares :-

1) Apache 2.4.2
2) PHP 5.4.3
3) MySQL 5.5.24
4) Zend Framework 1. 12.0

You can use any other databases or packages as you like , the general installation procedure is the same !
My installation directory :- F:\wamp\www\zend , i will use this for future reference .

Step 1 .  Download Zend Framework here (Zend Framework Download Link)

Step 2 . Extract the zipped archive into any directory (in this case F:/wamp/www)

Step 3 . Open php.ini , normally this is situated inside apache/apache2.x.x/bin/ (F:/wamp/bin/apache/apache2.4.2/bin) . If u don't know where it is situated , create a php file with the following as it's contents :-
<?php
echo phpinfo();
?>

Then open it from your browser , it'll list all your php settings and which php.ini file was loaded , you can get the location of php.ini from there !

Step 4 .  Find the following lines :-

; Windows: "\path1;\path2"
include_path = ".;f:\php"   <Your drive , or directory may differ>

Now add the following to include_path :- ;Path\to\zend\library
In my case i had something like this :-

; Windows: "\path1;\path2"
include_path = ".;c:\php\includes;f:\wamp\www\zend\library"

Step 5 . Restart Apache

Step 6 . Add Path\to\zend\bin (Eg :- F:\wamp\www\zend\bin) to your Path system variable (For more information on how to add it to path system variable See This)

That's it , you are all done now !!

To test your installation of Zend Framework , type this at the command prompt :-

zf show version , it should output the current Zend Framework Version !!






18 comments:

  1. Great post dear, it is useful for all PHP Zend Developer who wants to install zend framework on their system.
    Offshore Software Development Company

    ReplyDelete
  2. 0A5756EEF2FionaECE0731BE811 October 2024 at 23:56

    6C45118CEC
    sanal show

    ReplyDelete