Thursday, August 15, 2013

Install a Zend project

1. Copy the project source to www.
2. Copy Zend library to www.
3. Open httpd.conf and add these commands:
      NameVirtualHost *:80
      <VirtualHost *:80>
          ServerName btg
          DocumentRoot "C:\Program Files\EasyPHP-5.3.9\www\btg\public"
          SetEnv APPLICATION_ENV "development"
          <Directory "C:\Program Files\EasyPHP-5.3.9\www\btg\public">
              DirectoryIndex index.php
              AllowOverride All
              Order allow,deny
              Allow from all
          </Directory>
      </VirtualHost>

4. Open hosts file and add this command:
127.0.0.1       localhost btg
5. Open php.ini and modify the include_path:
            include_path = ".;${path}\php\includes;${path}\www\zend\library"
(replace btg and the url to yours!)

0 comments:

Post a Comment