Magento supports PHP 5.3.0 or newer. Find out how to install Magento using PHP-CGI as a work-around.
'; exit; } /** * Error reporting */ error_reporting(E_ALL | E_STRICT); /** * Compilation includes configuration file */ define('MAGENTO_ROOT', getcwd()); $compilerConfig = MAGENTO_ROOT . '/includes/config.php'; if (file_exists($compilerConfig)) { include $compilerConfig; } $mageFilename = MAGENTO_ROOT . '/app/Mage.php'; $maintenanceFile = 'maintenance.flag'; if (!file_exists($mageFilename)) { if (is_dir('downloader')) { header("Location: downloader"); } else { echo $mageFilename." was not found"; } exit; } if (file_exists($maintenanceFile)) { include_once dirname(__FILE__) . '/errors/503.php'; exit; } require_once $mageFilename; #Varien_Profiler::enable(); if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { Mage::setIsDeveloperMode(true); } #ini_set('display_errors', 1); umask(0); /* Store or website code */ $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; /* Run store or run website */ $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; switch($_SERVER['HTTP_HOST']) { case 'goth.pmuktest.co.uk': case 'www.goth.pmuktest.co.uk': $mageRunCode = 'gothpm'; $mageRunType = 'website'; break; case 'plussize.pmuktest.co.uk': case 'www.plussize.pmuktest.co.uk': $mageRunCode = 'plus'; $mageRunType = 'website'; break; case 'wholesale.pmuktest.co.uk': case 'www.wholesale.pmuktest.co.uk': $mageRunCode = 'pm_wholesale'; $mageRunType = 'website'; break; case 'wholesale-fr.pmuktest.co.uk': case 'www.wholesale-fr.pmuktest.co.uk': $mageRunCode = 'wholesale_french'; $mageRunType = 'store'; break; case 'wholesale-de.pmuktest.co.uk': case 'www.wholesale-de.pmuktest.co.uk': $mageRunCode = 'wholesale_german'; $mageRunType = 'store'; break; case 'lovecollants.pmuktest.co.uk': case 'www.lovecollants.pmuktest.co.uk': $mageRunCode = 'french'; $mageRunType = 'store'; break; case 'lovestrumpfhosen.pmuktest.co.uk': case 'www.lovestrumpfhosen.pmuktest.co.uk': $mageRunCode = 'german'; $mageRunType = 'store'; break; } Mage::run($mageRunCode, $mageRunType);