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.

2
  • >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 Dec 11, 2017 at 9:47
  • Now Try this command sudo php bin/magento indexer:reindex Dec 11, 2017 at 9:47

1 Answer 1

1

Try these cmd :

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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