简体   繁体   English

PHP codeigniter的500内部错误

[英]500 Internal Error for PHP codeigniter

I am new to php codeigniter, I need upload files like 100 mb size. 我是php codeigniter的新手,我需要上传100 mb大小的文件。 So from the internet I found the way to edit my php.ini file. 因此,从互联网上,我找到了编辑php.ini文件的方法。 BUT in codeigniter the php.ini file not working for sub folders. 但是在codeigniter中,php.ini文件不适用于子文件夹。 I need to use it everywhere, so I wrote the super user access to .htaccess file, but I am getting 500 Inter server error. 我需要在任何地方使用它,因此我写了对.htaccess文件的超级用户访问权限,但出现500个服务器间错误。

RewriteEngine on RewriteBase / RewriteCond $1 !^(index.php|resources|robots.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] suPHP_ConfigPath /home/edukeepi/public_html/php.ini

Why I am getting this error? 为什么我收到此错误?

Please try to upload in ./resources/ folder. 请尝试在./resources/文件夹中上传。 As in your .htaccess you are allowing 'resources' folder to write file (ie upload) 就像在.htaccess中一样,您允许“ resources”文件夹写入文件(即上传)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM