Apache MySQL PHP (Perl) {etc}



installation video - it’s not too complex, but the video steps you through it, anyway. I had this running in the background (although I had to pause a few times, since both download and install were slower than in the video. waaah!)


I had installed XAMPP on my WinXP box years ago -- 8 years, more? And just (2012.11) installed it on my Win7 laptop.



working in tandem with IIS

Windows (7 at least) with IIS installed and running on Port:80 (default) will step all over XAMPP and keep it from running.
I’ve used the notes @ Using XAMPP and IIS together – Easy Solution as pointers to solve the problem


add to httpd-chosts.conf

After the core configs are modified, you can set up your site in httpd-vhosts.conf
which should be something like \\path\to\xampp\apache\conf\extra\httpd-vhosts.conf


<VirtualHost *:81>
  DocumentRoot "D:/dev/xampp/htdocs/site-name/"
  ServerName site-name
  ServerAlias site-name
  <Directory "d:/dev/xampp/htdocs/site-name/">
     Options Indexes FollowSymLinks Includes ExecCGI
     Order allow,deny
     Allow from all


Add to hosts file

Probably located @ C:\windows\System32\drivers\etc
Adding records to the hosts file is normal -- no reference to port is required         site-name




I haven’t actually used this. precisely.



Blissful testing of locally hosted sites - using a ServerAlias with a wildcard to handle multiple sites with a single virtual host.


some security on Win7

XAMPP on Windows 7: Solving “client denied by server configuration” VirtualHost Error



Running XAMPP and IIS

easy solution -- modify ports for XAMPP



See Also



Category Tags

servers apache