Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change minimum required version to 5.3.2 #221

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@

if (!defined('BARE_BOOTSTRAP')) {
/* PHP version validation */
if (version_compare(phpversion(), '5.3.0', '<') === true) {
if (version_compare(phpversion(), '5.3.2', '<') === true) {
if (PHP_SAPI == 'cli') {
echo 'Magento supports PHP 5.3.0 or newer. Please read http://www.magento.com/install.';
echo 'Magento supports PHP 5.3.2 or newer. Please read http://www.magento.com/install.';
} else {
echo <<<HTML
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
<div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
<h3 style="margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
Whoops, it looks like you have an invalid PHP version.</h3>
</div>
<p>Magento supports PHP 5.3.0 or newer.
<p>Magento supports PHP 5.3.2 or newer.
<a href="http://www.magento.com/install" target="">Find out</a>
how to install Magento using PHP-CGI as a work-around.
</p>
Expand Down