rbansod32
rbansod32

Reputation: 21

Magento Installation Fatal error

I am beginner in the magento field and trying to install magento on localhost. I am using XAMPP server 7.2.1 and magento 2.2.2 The Configuration get all set but when I hit localhost/magento in browser it shows me fatel error like

Fatal error: Declaration of Zend\Mvc\Controller\PluginManager::get($name, ?array $options = NULL) must be compatible with Zend\ServiceManager\AbstractPluginManager::get($name, $options = Array, $usePeeringServiceManagers = true) in C:\xampp\htdocs\magento\vendor\zendframework\zend-mvc\src\Controller\PluginManager.php on line 211

Upvotes: 0

Views: 648

Answers (1)

sissy
sissy

Reputation: 3008

As reported here and here the latest version of XAMPP (the PHP version packed with it) is not compatible with latest Magento versions.

Magento 2 dosen't support the version of php that the latest xampp has packed with it. The problem should be fixed if you download an older version of xampp that has a php version packed compatible with magento 2.

So, as already suggested, the solution is that either you downgrade your PHP version or the complete XAMPP package.

Upvotes: 2

Related Questions