Reputation: 15
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?
Upvotes: 1
Views: 1794
Reputation: 1416
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.
Upvotes: 0
Reputation: 361
Follow this steps:
rm -rf var/cache var/page_cache generated/code generated/metadata
Upvotes: 1
Reputation: 31
are you on the right directory? check if the magento binary is there. you can do this by listing bin directory (ls bin/
)
Upvotes: 0