I logged in to my terminal for run the magento command,after login to ssh on my command prompt and hit the command,and its not returning anything.
here is the command
[root@new-mt5 dev.ia****nce.com]# php bin/magento indexer:reindex
[root@new-mt5 dev.ia****nce.com]#
after hitting the command it not returning anything, I am using this command to my magento root dir.
how to solve this issue?
3
Answers
are you on the right directory? check if the magento binary is there. you can do this by listing bin directory (
ls bin/
)Follow this steps:
rm -rf var/cache var/page_cache generated/code generated/metadata
I know this is old, but this can help someone else
Check your php.ini for memory limits.
You can put something like 6g for a better performance or event -1 for maximum available memory.