Article : HowTo: Setup Zend studio IDE on windows with xampp.

HowTo: Setup Zend studio IDE on windows with xampp.

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.localhostSo 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
  </Directory>
</VirtualHost>

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

And added

127.0.0.1 rss.local