-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
502 bad gateway #20
Comments
I got it to work using this method instead https://stackoverflow.com/questions/23788096/how-to-setup-phpmyadmin-on-a-laravel-homestead-box#answer-36640591 |
In /etc/nginx/sites-enabled/phpmyadmin.test change: An alternate solution would be to modify the parameters passed to the serve-laravel.sh script to include the PHP version. |
Homestead 6+ support multiple PHP versions ("7.1", "7.2" and "7.3") now. I've fixed the problem by adding (php: "7.2") in the Homestead.yaml like this
|
…on from github. (#26) With this PR, from now on, the script will automatically fetch the latest version of PhpMyAdmin from Github, hence will serve the application with PHP 7.3 by default.
When i load that url from the host box i get an nginx screen stating
502 bad gateway
.Afer i successfully ssh'd into the vagrant box (homestead) i ran the mentioned shell command. It appeard all is well. When looking i do see phpmyadmin in the nginx sites-available, i did add the url to the vhost
127.0.0.1 phpmyadmin.app
. i also tried restarting nginx and php-fpm.Not sure where to look from here, not knowing much about vagrant yet, its new to me still. Do i need to check some config file somewhere?
The text was updated successfully, but these errors were encountered: