You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fail .= '<li>You need<strong> MySQL 4.1.20</strong> (or greater)</li>';
} else {
$pass .='<li>You have<strong> MySQL 4.1.20</strong> (or greater)</li>';
}
} else { $fail .= '<li>Safe Mode is <strong>on</strong></li>'; }
foreach($extensionsas$extension) {
if(!extension_loaded($extension)) {
$fail .= '<li> You are missing the <strong>'.$extension.'</strong> extension</li>';
} else{ $pass .= '<li>You have the <strong>'.$extension.'</strong> extension</li>';
}
}
if($fail) {
echo'<p><strong>Your server does not meet the following requirements in order to install Magento.</strong>';
echo'<br>The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:';
echo'<ul>'.$fail.'</ul></p>';
echo'The following requirements were successfully met:';
echo'<ul>'.$pass.'</ul>';
} else {
echo'<p><strong>Congratulations!</strong> Your server meets the requirements for Magento.</p>';