Thursday, 24 December 2015

How to install Zend Framework 2 in windows

How to install Zend Framework 2 in windows

  1. Add PHP.exe Path to Your Windows Path Variable.
    Means we need to add php.exe's path to windows path variable So that you can execute php commands.
    (My php.exe Path: E:\wamp\bin\php\php5.4.3)
    Not understand OR any Doubt 
  2. Make sure you have >=PHP5.4 Version.
  3. Now download Zend Framework 2.3.2 From https://github.com/zendframework/ZendSkeletonApplication/releases/tag/release-2.3.2
  4. Unzip this zipped file .
  5. Rename ZendSkeletonApplication to zf2.
  6. Copy this zf2 folder to E:\wamp\www
  7. Login to command prompt & Go to www folder of wamp (Path: E:\wamp\www\zf2)
  8. Now download composer with following command.
    php -r "readfile('https://getcomposer.org/installer');" | php
    If the above fails, enable php_openssl.dll in php.ini & Restart wamp Server.
  9. Now execute following command to install the composer
    php composer.phar install
  10. Apache Setup  (Path: E:\wamp\bin\apache\apache2.2.22\conf\extra)
        DocumentRoot "E:\wamp\www\zf2\public"
        ServerName zf2.georama.loc
        <directory public="" wamp="" www="" zf2="">
            AllowOverride All
            Order allow,deny
            Allow from all
  11. Append following line in host File (Path:C:\Windows\System32\drivers\etc)       zf2.georama.loc
  12. ReStart your wamp Server.
  13. http://zf2.georama.loc in Web Browser

No comments:

Post a Comment