1

i installed magento 2 on xampp server bt i can't reindex the magento2. i tried this:

sudo php var/www/html/magento

Otuput: Could not open input file: var/www/html/magento.

Please anybody explain me how to reindex?

Thanks.

  • >First you need to go magento installation folder using this command cd /var/www/html/magento >Now you are in your magento installation folder and now try with php bin/magento indexer:reindex – Chander Shekhar Dec 11 '17 at 9:47
  • Now Try this command sudo php bin/magento indexer:reindex – Ravindrasinh Zala Dec 11 '17 at 9:47
1

Try these cmd :

cd /var/www/html/magento
sudo bin/magento indexer:reindex
  • Thanx @ashish. its working. – pooja Dec 11 '17 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.