![]() you should now have two folders in your sites folder, default and testsite1. Repeat for each additional site you want to set up.Type a name for your database in the 'create database' textbox ('testsite1' is as good as anything) then click the create button. ![]() Use SQLyog and log into your DB server at localhost.Databasesįirstly we will set up a new database for 'testsite1' We'll assume Drupal is installed in c:/1. In the following example we will add a local site" in addition to the default site. Edit the virtual host settings in Apache.Set up your databases, one for each website.OK, to set up multi-sites there are four stages to go through, but it's not difficult: ![]() If you don't yet have PHP, Apache and MySQL installed then XAMPP will help! See also įinally, I'll assume you're starting with a working D6.x installation, have followed the installation instructions and got the default site up and running. Again, I'll assume you've got one of these installed and connected to your database server. This page assumes that you have PHP, Apache, MySQL and Drupal all installed and working and have a MySQL admin tool available the free community edition of SQLyog will do nicely, or you can use phpMyAdmin if you prefer. NB: This post was originally written for Drupal 4.6.x but has been updated for 6.x so some of the comments below are now obsolete. Here's how to get mutltiple sites working on localhost using Windows XP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |