自一个星期以来,我对我的cakephp3项目有问题。我已经在本地主机上开发了一个cakephp3项目,并且效果很好。在我的服务器上,我创建了一个子域,并在上面上传了我的项目。当我执行项目时,出现此错误消息
内部服务器错误服务器遇到内部错误或 配置错误,无法完成您的请求。
请通过以下方式与服务器管理员联系: webmaster@collector.oiecameroun.org通知他们这个时间 错误发生,以及您在此错误之前执行的操作。
有关此错误的更多信息可能在服务器错误中可用 日志。
此外,在遇到500内部服务器错误错误时 尝试使用ErrorDocument处理请求。
我认为问题出在.htaccess文件根目录中,但我不知道出了什么问题。我需要帮助。我的PHP版本是7.2 这是我的.htaccess文件根目录内容:
# Uncomment the following to prevent the httpoxy vulnerability
# See: https://httpoxy.org/
#<IfModule mod_headers.c>
# RequestHeader unset Proxy
#</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(\.well-known/.*)$ $1 [L]
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
答案 0 :(得分:0)
这是错误日志文件的内容
[03-Oct-2019 07:43:11 UTC] PHP致命错误:您必须启用intl 扩展以使用CakePHP。在 /home/cp1035698p49/public_html/collector/config/requirements.php on 第31行
这个问题也得到解决