I'm installing Magento for the first time, on a MAMP stack.
I've downloaded version 1.7 from the magento site (under RELEASE ARCHIVE).
I've unzipped it and pointed my Apache webserver root at the unzipped folder, but when I browse to http://localhost:8000 (for that is the port I am running it on), it redirects to http://localhost:8000/index.php/install/ which says "This page isn’t working" (HTTP ERROR 500).
In my PHP log it says :
[15-May-2017 03:43:46 UTC] PHP Fatal error: Uncaught Error: Function name must be a string in /installdir/magento1.7.0.2/app/code/core/Mage/Core/Model/Layout.php:555
Stack trace:
#0 /installdir/magento1.7.0.2/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#1 /installdir/magento1.7.0.2/app/code/core/Mage/Install/controllers/WizardController.php(120): Mage_Core_Controller_Varien_Action->renderLayout()
#2 /installdir/magento1.7.0.2/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Install_WizardController->beginAction()
#3 /installdir/magento1.7.0.2/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('begin')
#4 /installdir/magento1.7.0.2/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 /Users/newnrg/Projec in /installdir/magento1.7.0.2/app/code/core/Mage/Core/Model/Layout.php on line 555
(Note: I have tried $ chmod 777 var app media var/* app/* media/* var/.htaccess
which I read about somewhere, but it made no difference for me)
Why is magento redirecting to /index.php/install/ out of the box?
And what do I do to fix it?