1. 根目录下的 config.php 文件中,确保开启了 PHP 错误报告。
    error_reporting(E_ALL);
    ini_set('display_errors', 'On');
  2. 访问网站,查看页面上是否显示具体的 PHP 错误信息。