cancel
Showing results for 
Search instead for 
Did you mean: 

localhost using xammp - also want to use for php developing

localhost using xammp - also want to use for php developing

Hi all..

I currently have my local dev machine setup to use xampp with the httpd.conf file using the following:

DocumentRoot "C:/xampp/htdocs/magento"
<Directory "C:/xampp/htdocs">

How would i set up so i cam also develop separate .php pages (not magento) and view them through localhost?

Thank you all in advance

Andy

1 REPLY 1

Re: localhost using xammp - also want to use for php developing

might also be worth me mentioning that in the 'magento/' root folder, my index.php contains:

/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';

switch($_SERVER['HTTP_HOST']) {
case 'http://localhost':
case 'localhost':
Mage::run('sitename', 'website');
break;
default:
Mage::run();
break;
}