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
.... your config ...
fastcgi_buffers 16 16k;
but i see a blank page now
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!