问题
I'm new in Magento. I install magento2 just few days ago and now i want to do reindexing.
But there is no option of reindex in Index Management page. So i used CLI with below code:
php bin\magento indexer:reindex
Output: 'php' is not recognized as an internal or external command, operable program or
batch file.
All of the answer of this question suggest to set environment path variable but the variable path is already set
Link of screenshot :
http://prntscr.com/mc0j95
Please help me to solve this problem.. Thanks
回答1:
Try php -v
if u dont get the current version maybe u need to reinstall and set the path of PHP again.
来源:https://stackoverflow.com/questions/54365145/magento-reindexing-cli-command-after-set-variable-path-php-is-not-recognized