I am new to php codeigniter, I need upload files like 100 mb size. So from the internet I found the way to edit my php.ini file. BUT in codeigniter the php.ini file not working for sub folders. I need to use it everywhere, so I wrote the super user access to .htaccess file, but I am getting 500 Inter server error.
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. As in your .htaccess you are allowing 'resources' folder to write file (ie upload)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.