If you are installing Magento on PHP7, you can get error message This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500.



Go to index.php and turn on error display ini_set('display_errors', 1);

You will get error message Fatal error: Uncaught Error: Function name must be a string in .../app/code/core/Mage/Core/Model/Layout.php:555

In file app/code/core/Mage/Core/Model/Layout.php change:

$out .= $this->getBlock($callback[0])->$callback[1]();
to
$out .= $this->getBlock($callback[0])->{$callback[1]}();




In db configuration you can get error Database server does not support the InnoDB storage engine.;

In file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php change:

public function supportEngine()
{
    $variables  = $this->_getConnection()
        ->fetchPairs('SHOW VARIABLES');
    return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
}


to

public function supportEngine()
{
    $variables  = $this->_getConnection()
        ->fetchPairs('SHOW ENGINES');
    return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}



Image upload not working in admin on product page

In file lib/Varien/File/Uploader.php change:

$params['object']->$params['method']($this->_file['tmp_name']);


to

$params['object']->{$params['method']}($this->_file['tmp_name']);