I have setup my development environment on a Virtual machine running Windows XP, because vista64 has .... and virtual machines are plain cool. Xampp is installed as my web server, because it's easy and google help gets results.
The config bits that pushed the learning curve with Zend Studio, was where do I put my application? Zend want's to be installed at root level on localhost and that limited to one application. Sucks, until I read about xampp-apache-namevirtualhost !!!!
Added below to my virtual host list C:\xampp\apache\conf\extra\httpd-vhosts.conf
So when I made my rss Zend Project, I put it into the folder C:\xampp\htdocs\rss
That means each application has it's own folder with it's own url on localhost ie rss.localhost
Update: I have since changed from using Xampp to using Zend Server CE it's easier to setup but is different when it comes to setting up a virtual host. Plus I'm working with the MVC model so need to point to the public folder.
I had to open Zend\Apache2\conf\httpd.conf and remove the # from the line
#Include conf/extra/httpd-vhosts.conf to activate the virtual hosting configuration file.
Next I opened Zend\Apache2\conf\extra\httpd-vhosts.conf file and added the following
SetEnv APPLICATION_ENV "development"
Allow from all
Lastly I opened the hosts file at C:\WINDOWS\system32\drivers\etc
And it's all golden.
Other related posts:
EASEUS Todo Backup – my favourite backup software
Jolicloud on the netbook
A couple of new things on my EeePC 1001HA
Comment by James, on 7-Nov-2009 14:29
Just what I needed, thanks!
Comment by Aditya Jadhav, on 31-Dec-2009 18:18
Nice info :) .... what about debug ...more help ... if u so :) Thanks Again
with Warm Wish
Add a comment
Please note: comments that are inappropriate or promotional in nature will be deleted.
E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.
Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and placed in the moderation queue for the blog owner's approval.