Installing locally on Windows

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
==Install PHP/MySQL==
 
==Install PHP/MySQL==
 
You can install Apache too or run PHP/MySQL for IIS. Highly-reccommended and wonderfully-easy way to do this: go grab [http://www.apachefriends.org/en/xampp.html xampp].
 
You can install Apache too or run PHP/MySQL for IIS. Highly-reccommended and wonderfully-easy way to do this: go grab [http://www.apachefriends.org/en/xampp.html xampp].
 
  
 
==Give your local server a domain name==
 
==Give your local server a domain name==
Line 10: Line 9:
  
 
Your 'hosts' file (it doesn't have a file extension) should be here:
 
Your 'hosts' file (it doesn't have a file extension) should be here:
C:\WINDOWS\system32\drivers\etc\hosts
+
<pre>C:\WINDOWS\system32\drivers\etc\hosts</pre>
  
 
Open your hosts file in your text/code editor of choice (windows notepad will work too) and add this line...
 
Open your hosts file in your text/code editor of choice (windows notepad will work too) and add this line...
<pre>127.0.0.1 yourdomainname.com</pre>
+
<code>127.0.0.1 yourdomainname.com</code>

Revision as of 13:32, 23 June 2006

Introduction

Here's the rough basics for installing a copy of Pro Edition on your local PC (running Windows XP). Hopefully this page will grow in detail as time allows.

Install PHP/MySQL

You can install Apache too or run PHP/MySQL for IIS. Highly-reccommended and wonderfully-easy way to do this: go grab xampp.

Give your local server a domain name

Pick a domain name (preferrably one that you actually control and could run a live site on if you wanted to) and add an entry to your Windows hosts file.

Your 'hosts' file (it doesn't have a file extension) should be here:

C:\WINDOWS\system32\drivers\etc\hosts

Open your hosts file in your text/code editor of choice (windows notepad will work too) and add this line... 127.0.0.1 yourdomainname.com

Personal tools