Laravel News Nginx 502: Bad Gateway error

1 to reproduce the problem
1.1 Laravel 6.1.0, the front end data modification, header contains Chinese symbol:, or "", Nginx 502 reported error.

1.2 TEXT field not to save this problem

2 investigation process

2.1 $ vagrant ssh into the Homestead

2.2 Archive :: find (10) -> update ([ 'title' => ',,']), exit tinker environment

2.3 $ php7.2 artisan tinker, then execute commands 2.2, normal!
2.4 Description of this problem stems from php7.3

3 to solve

3.1 modify Homestead.yaml 

sites:
- map: hhdb.test
to: /home/vagrant/code/hhdb/backend/public
php: "7.2"

3.2 $ vagrant reload --provision

3.3 Problem Solving

Guess you like

Origin www.cnblogs.com/mouseleo/p/11634954.html