Wednesday, March 1, 2023

502 BAD GATEWAY ERROR WHILE INSTALLING VAGRANT BOX TO RUN A LARAVEL PROJECT with 7.4 PHP

 To fix this what I did is.


go to your Homestead folder

run: vagrant ssh

type: sudo passwd root

type what password you want for root

then type: su

run the ff. commands

sudo systemctl enable php7.4-fpm
sudo service php7.4-fpm restart

Done!


No comments:

Post a Comment