human art and other bits

HowTo: Setup Zend studio IDE on windows with xampp.

, posted: 15-Jul-2008 11:08

I got Zend Studio the other day,  I heard how it's really got the features that can make programming an easier process. Like it's debugging features are professional.

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

    DocumentRoot "c:/xampp/htdocs/rss/html"
    ServerName rss.localhost

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

<VirtualHost *:80>
  DocumentRoot "C:\Zend\Apache2\htdocs\rss\public"
  ServerName rss.local
  SetEnv APPLICATION_ENV "development"
  <Directory C:\Zend\Apache2\htdocs\rss\public>
    DirectoryIndex index.php
    AllowOverride All
    Order allow,deny
    Allow from all


Lastly I  opened the hosts file at C:\WINDOWS\system32\drivers\etc

And added rss.local


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

hellonearthisman's profile

Brett Cooper
New Zealand

Stone artist with a digital understanding. 1st computer was a c=64