I would like to install drupal 7.5 manually. I used xampp-win32-7.0.9-1-VC14-installer.exe; it's installed on a windows 10 hyperv vm. This is a domain; the host is windows 2012 r2.
I have installed drupal 7 many times on typical shared hosting scenarios. There via cpanel I'd create an add on domain, unzip the drupal files into that directory, create the database in mysql, and walk through the installer process.
I'm not sure how best to emulate that with xampp. I will want several sites at different addresses for testing purposes. I read about apache virtualhosts where I could edit httpd-vhosts to be like
<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:8080>
DocumentRoot "c:/xampp/htdocs8080"
ServerName d75.localhost
</VirtualHost>
But what I don't understand (without testing the above) is what to do with the files that are already present in the root of htdocs. There is an index.php but it has
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation
which I don't understand...do I toss this file and install drupal into the root of htdocs just like I would in a shared hosting scenario?
And if I used a config like my virtualhosts example above, if I created a folder at c:/xampp/htdocs8080 with another drupal installation would it function?
Thanks