Magento reindexing CLI command after set variable PATH : 'php' is not recognized as an internal or external command, operable command or batch file

心已入冬 提交于 2019-12-11 07:57:58

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!