Sometimes when developing, PHP shows you a blank, white page. Learn why this happens and how to fix it.
Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth
PHP code to display all errors:
ini_set("display_errors", "1");
ini_set("display_startup_errors", "1");
error_reporting(E_ALL);
Code in a Gist to show PHP errors:
https://gist.github.com/daveh/299d36441755c5c436a77301d16e880f
00:00 PHP blank screen
00:16 PHP settings
00:29 PHP code to fix it
#php #shorts
Category
Show more
Comments - 20
Related videos for PHP Shows a Blank White Screen: How to Fix it to Get Errors to Display shorts: