首页 > 解决方案 > 加载资源失败:服务器响应状态为 500 () PHP 网站

问题描述

当我尝试打开我的 PHP 网站时,它在控制台中给出了 500 错误。错误日志显示此错误:

PHP Fatal error:  require_once(): Failed opening required '../assets/init.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/bcaftanc/public_html/thequrantube/index.php on line 13

但是在第 13 行的 index.php 文件中,我没有像错误所说的那样,它是这样写的:

require_once('./assets/init.php');

可能是什么问题 ?

标签: php

解决方案


推荐阅读