Showing results for 
Search instead for 
Did you mean: 

Magento commands doesn't work


Re: Magento commands doesn't work

i changed my env.php file i rip out redis and now i am available to execute the commands


php bin/magento setup:di:compile
php bin/magento cache:flush

but when i tried to enter to the website in the local host y get a answer error of 502


Edit: I solved the 502 adding to my nginx config file


http {
  .... your config ...

  fastcgi_buffers 16 16k;
  fastcgi_buffer_size 32k;

but i see a blank page now

Re: Magento commands doesn't work


Good to hear problem solved, for blank page please check server logs what is the error you will get some hints by checking error logs.


Let me know if you need more help. ThankS!


Hope given answer helpful to you to solved problem. Click on 'Kudos' & Accept as Solution!

Manish Mittal