Set up Zend Framework in windows

1. Download latest zend framework archive file, copy library\zend folders to  your project\library\zend

or

add include_path in php.ini

include_path = “.;C:\EasyPHP\www\library”

2. Your Apache installation must have the mod_rewrite extension installed and configured.

3.You must also ensure that Apache is configured to support .htaccess files. This is usually done by changing
the setting:
AllowOverride None
to
AllowOverride All
in your httpd.conf file.

<VirtualHost *:80>
 ServerName banner.com
 ServerAlias www.banner.test banner.com www.banner.com
DocumentRoot "E:\workspace\Banner\public"
<Directory "E:\workspace\Banner\public">
 Order Allow,Deny
 Allow from all
 AllowOverride All

 SetEnv APPLICATION_ENV testing

 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^.*$ - [NC,L]
 RewriteRule ^.*$ index.php [NC,L]
 </Directory>
</VirtualHost>
affiliate_link
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

Comments are closed.