收到以下错误
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@api.example.com.au to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
我推送了实时 codeigniter 项目,我更新了 .htaccess 、数据库文件、配置文件。
.htaccess 文件包含以下代码
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|css|js|images|robots\.txt)
RewriteRule ^(.*)$ index.php?$1 [L]
Options -Indexes
Codeigniter 项目在api.websiteName.com文件夹内,但不在文件夹中public_html,如果我删除 index.php 和 htccess 文件并上传“index.html”文件以进行测试,则 index.html 工作正常,但当我上传 index.php 和 .htaccess文件返回,它说内部服务器错误 500,同一个问题有很多答案,我按照答案更新了 .htaccess 文件,但没有任何效果。文件夹权限设置为 755 但仍然出现相同的错误。任何帮助将非常感激。
PHP版本高于5.6