I just bought a year of web hosting and I paid for the 50GB plan. I want to allow small attachments up to 260MB each on my website. I used this:
php_value upload_max_filesize
php_value post_max_size
php_value memory_limit
Found here https://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/ to change the settings to the appropriate MB but it immediately caused a 500 Internal Server Error when I went to my website. Obviously all I have to do to make my website work again is delete this file (thank goodness!!) but how can I modify this code to make it change the max upload setting on my website? I tried creating and editing my own php.ini but that didn't work either.
php_value upload_max_filesize 5M
? (Otherwise you will get a 500 error).htaccess
method to work. Otherwise, you can try.user.ini
in PHP 5.3+ (under CGI/FastCGI) eg.upload_max_filesize = 5M
. Your host might have also disabled this ability - try changing the options in cPanel instead? Your host should be able to tell you how these options can be modified.