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]B,F]2-P_y+ |uAxgpP'=9 tB\uGaʹf}(~T >>!AO3q}nXg [g37Yy _o6w߻@ij Ns^T cq1lؿrFovRuQa?2猐&:;7b5ǻ[:L@J{wh YE߷5 >2T Ig7/p\x8@^K|G@#o'' !Vo57s Kvzl)uG H^P_{EYdXwb'*yrڞ H\܋oNӵP1*0 ^ TkO~+"efkR\|@^p%,:8o10"+BL3;ɏ0֚BV_7r 5UZ߳) Y(]iP-%8!x6sꉫf5y!Nr5{RLN}'bv>
  • Within your XAMPP installation directory (usually C:\xampp), create a new directory named apps\ (if it doesn’t already exist). Then, within this new apps\ directory, create a directory to hold your Zend Framework 2 application and its related XAMPP configuration files. In this example, call the directory myapp\.

  • Extract the contents of the ZIP archive to the myapp\ directory. This will produce a zendframework-ZendSkeletonApplication-[xx]\ subdirectory in the myapp\ directory. Rename this newly-created subdirectory to htdocs.

    This new htdocs directory will be the main working directory for your Zend Framework 2 project.
  • Within the myapp\ directory, create a new conf\ subdirectory.

    1. Within the new conf\ subdirectory, use your text editor to create and populate a file named httpd-prefix.conf with the following content:

      Alias /myapp/ "C:/xampp/apps/myapp/htdocs/public/"
      Alias /myapp "C:/xampp/apps/myapp/htdocs/public"
      Include "C:/xampp/apps/myapp/conf/httpd-app.conf"
    2. Within the conf\ subdirectory, also create and populate a file named httpd-app.conf with the following content:

      <Directory C:/xampp/apps/myapp/htdocs/public>
         Options +FollowSymLinks
         AllowOverride All
         Require all granted
      </Directory>
  • Edit the httpd-xampp.conf file in the apache\conf\extra\ subdirectory of your XAMPP installation directory and add the following line at the end to include the httpd-prefix.conf file created earlier.

    Include "C:/xampp/apps/myapp/conf/httpd-prefix.conf"
    Remember to update the above file and directory paths so that they’re valid for your system.
  • Check that you have a directory structure like this:

    image2
  • Restart the Apache server using the XAMPP control panel.

  • Launch a new Windows command shell using the "Shell" button in the XAMPP control panel.

    image3
  • Within the command shell, change to the myapp\htdocs\ directory and run the following commands to update Composer (the PHP dependency manager) and install the Zend Framework 2 components.

    php composer.phar self-update
    php composer.phar install

    Here’s an example of what you might see as Composer downloads and installs dependencies.

    image4
  • Once Composer is done, you should be able to access the Zend Framework 2 skeleton application by browsing to http://localhost/myapp. Here is an example of the default welcome page you should see:

    image5
  • You can now begin developing your Zend Framework 2 application by modifying the skeleton application code. For more information, refer to the Zend Framework 2 User Guide.