cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 installation on localhost

Magento 2 installation on localhost

getting many issues while installing magento 2.0 on localhost

11 REPLIES 11

Re: Magento 2 installation on localhost

Follow the steps from the article given below for installing Magento 2 on localhost.

 

https://www.magestore.com/magento-2-tutorial/how-to-install-magento-2-on-localhost-via-xampp/

 

And please share the screenshot of the errors which you are facing so it can help someone to answer.

 

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Magento 2 installation on localhost

Hi @jhon_doe2

 

Can you please share the errors which You are facing while installing magento 2.0 ?

 

Also here i am sharing a very good article , to know more details how to install magento 2 - https://amasty.com/blog/how-to-install-magento-2-php7-localhost/

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 installation on localhost


Fatal error: Cannot use Magento\Payment\Gateway\ConfigInterface as ConfigInterface because the name is already in use in F:\xammp\htdocs\magento-2-community-master\magento-2-community-master\vendor\magento\module-payment\Model\Method\Logger.php on line 8

 

Re: Magento 2 installation on localhost

Hi @jhon_doe2

 

I think , its known bug - what's your PHP version ? also are you installing magento 2.0 ? i would suggest you to installed latest version of magento 2 which is magento 2.2.5

 

Regarding your issue here is the solution - https://magento.stackexchange.com/questions/227387/cannot-use-magento-payment-gateway-configinterfac...

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 installation on localhost

i am installing magento 2.0 
PHP version 7.0.2

Re: Magento 2 installation on localhost

Hi @jhon_doe2

 

To fix this issue use PHP version at least -  >= 7.1

 

Also i would suggest you to install the latest version of magento 2 - as Mageto 2.0.18  is the final 2.0.x release. After March 2018, Magento 2.0.x will no longer receive security patches, quality fixes, or documentation updates. To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

 

So use latest version of magento 2 -  which is magento 2.2.5 and installed its compatible PHP version - that will help you for the same !

 

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 installation on localhost

magento.png

Re: Magento 2 installation on localhost

Hello @jhon_doe2,

 

Use php version 7.1.17 in xampp. I hope your problem will be resolved.

 

Same issue here: https://magento.stackexchange.com/questions/225909/getting-error-on-installing-magento-2-2-4/226005#...

--
If my answer is useful, please Accept as Solution & give Kudos

 

Re: Magento 2 installation on localhost

admin_dashboard.png