Zend - How to install on WAMP

If there is an easy-to-use instruction or tutorial that I can use to find out how to install Zend on my computer with WAMP installation?

Listed video http://www.zendcasts.com/getting-started-with-zend-and-wamp-server/2009/06/

it's hard to read what he writes.

thank

+3
source share
2 answers

Conceptually, all of this:

  • Create a virtual host by pointing it to a sample application

  • Make sure that PHP include_pathcontains the path to the Zend library.

But specificity can be difficult if you are not used to it. So, at least a little more color.

  • Create a folder for your application, something like C:\apps\myapp.

  • ZF - this this - , myapp , application, library, public, tests ..

  • Apache. :

    3.1 hosts - WinXP, C:\windows\system32\drivers\etc,

    127.0.0.1 myvirtualapp

    myvirtualapp, myapp, , . , Apache HTTP; - .

    3.2 Apache vhost - Apache, , conf/extra/httpd-vhosts.conf. :

    < VirtualHost *: 80 >

    DocumentRoot "C:/apps/myapp/public"

    _ myvirtualapp

    </VirtualHost>

  • Apache.

  • , Zend c:\apps\myapp\library, Zend , .

  • , c:\apps\myapp\library PHP. , c:\apps\myapp\public\index.php. library index.php realpath(APPLICATION_PATH . '/../library').

  • URL: http://myvirtualapp/

, !

+5

, Zend Core , WAMP. Zend Core WAMP, .

Zend Server Community Edition, Zend Core, .

0

Source: https://habr.com/ru/post/1757481/


All Articles