关于我的cakephp3项目,从一周以来,我就遇到了问题。我在本地开发了一个cakephp3项目,它运行得非常好。在我的服务器上,我创建了一个子域,并将我的项目上传到它上。当我执行项目时,我会收到以下错误消息
内部服务器错误服务器遇到内部错误或配置错误,无法完成请求。
请与webmaster@collector.oiecameroun.org的服务器管理员联系,通知他们此错误发生的时间以及您在此错误之前执行的操作。
有关此错误的详细信息可在服务器错误日志中获得。
此外,在试图使用ErrorDocument处理请求时遇到了500个内部服务器错误。
我认为问题在.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>发布于 2019-10-18 18:49:42
这是错误日志文件内容。
03-2019 07:43:11 UTC致命错误:您必须启用intl扩展来使用CakePHP。在第31行的/home/cp1035698p49/public_html/collector/config/requirements.php中
这个问题也得到了解决
https://stackoverflow.com/questions/58450745
复制相似问题