Install mercurial for windows for NetBeans integration
Add mercurial bin directory to the windows path
Add xampp php to the windows path
Add the Zend Framework bin folder to the windows path
Execute zf tool commands from the windows powershell
zf create project zend-sample
Add the following to the httpd-vhosts.conf (and uncommment the NameVirtualHost line)
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "C:\Users\matt\Documents\NetBeansProjects\zend-sample\public"
ServerName zend-sample
ServerAlias www.zend-sample
ErrorLog "logs/zend-sample-error.log"
CustomLog "logs/zend-sample-access.log" combined
<Directory C:\Users\matt\Documents\NetBeansProjects\zend-sample\public>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Add to the hosts file:
127.0.0.1 zend-sample www.zend-sample
Add the zend framework library path to the include_path in the php.ini
Restart apache
Add the .hgignore
nbproject
In netbeans add the zend framework library to the include path
No comments:
Post a Comment