Apache MySQL PHP (Perl) {etc}

http://www.apachefriends.org/en/xampp-windows.html

 

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

 

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

 

127.0.0.1         site-name

 

 

multisite

http://austinpassy.com/tutorials/setting-up-virtual-hosts-wordpress-multisite-with-xampp-on-windows-7/
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

HtAccess

 

Category Tags

servers apache