No error message on the white screen. Generally, php is used. the display_errors of ini is not enabled, so first make sure that display_errors is in the On status and then enable Debug mode in appconfigapp. change debugfalse to debugtrue in php. In this way, if it is a PHP or configuration problem, the page will show that if it is a framework or program problem
No error message on the white screen. Generally, php is used. the display_errors of ini is not enabled, so first make sure that display_errors is in the On status and then enable Debug mode in app/config/app. in php, change "debug = false" to "debug = true". In this way, if the problem is PHP or configuration, it will be displayed on the page. If it is a framework or program problem
No error is displayed on the white screen. The error message is that display_errors of php. ini is not enabled.
So first, make sure that display_errors is in the On status.
Then enable the Debug mode.
Change 'debug' => false to 'debug' => true in app/config/app. php.
In this way, PHP or configuration problems will be displayed on the page.
If it is a framework or program problem, you can find the specific error in app/storage/logs/laravel. log.
Several common problems of laravel startup failure
1. No forwarding rule is configured
Set Apache in. htaccess
Options + FollowSymLinksRewriteEngine OnRewriteCond % {REQUEST_FILENAME }! -DRewriteCond % {REQUEST_FILENAME }! -Add fRewriteRule ^ index. php [L] Nginx in the configuration file
Location/{try_files $ uri // index. php? $ Query_string;} 2.app/ storage write permission chmod-R 777 app/storage can be 3. open_basedir configuration problems because some automatic tools will automatically set open_basedir to the directory where the domain name is located, that is, the public directory. However, open_basedir should be configured on the Site or php in the public directory. ini or httpd. in conf, restart the corresponding service. You can use the php artisan env in the root directory to find the error.
Original article address: the white screen of Laravel is broken. Thank you for sharing the original article.