Well, you will need to create a virtual host for yoru Zend Framework application, in Windows XP you can do that by adding few lines to hosts and httpd.conf files.
C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf:
C:\Windows\System32\drivers\etc\hosts:Code:NameVirtualHost *:80 <VirtualHost *:80> ServerName myproject DocumentRoot "C:\wamp\www\myproject" </VirtualHost>
Restart Apache afterwards, of course. Path to httpd.conf will be probably different on your system as you don't use WampServer.Code:127.0.0.1 myproject # my cool ZF project
Library folder can be virtually anywhere, just add it to include path (either by php.ini directive or just by using the set_include_path() PHP function to set the include path on the fly).
I have written an article for Zend Framework newbies a while ago. It's an older article but it should all still work even in the newest version of ZF. Check it out: Getting started with Zend Framework


LinkBack URL
About LinkBacks



Reply With Quote
