Cannot upload videos "Files must be less than 8 MB"

kengrayfield
Forums
As the subject stated, I cannot upload any video larger than 8 mb. I tried changing settings in .htaccess file and doesn't seem to work. Any ideas?
Profile picture for user James Aparicio
James Aparicio

Hi kengrayfield,

Hi kengrayfield,

You should check your php maximum post and file upload size in your php.ini

 

Best regards

kengrayfield

no luck

I created a php.ini file in my root directory, with the following: upload_max_filesize = 100M post_max_size = 100M Still no luck...
cogicube

other link

Hi If you have not access to the php.ini file, you can change the values in the .htaccess file located in the root of your site. See this link http://davidwalsh.name/php-values-htaccess
kengrayfield

Thanks for the replies! I

Thanks for the replies! I just checked with my hosting company, and because I am on a shared host, I will no have access to php.ini. I tried to change the .htaccess and it seems to only break my site. I did some research, and found that because my server is fastCGI, I will not be able to use .htaccess to change the max file size and post size .... any further help will be greatly appreciated!
cogicube

It's not a good pactice but

It's not a good pactice but you can modify the index.php and just after the php tag (<?php) insert the function ini_set. For the syntax, take a look here: http://www.php.net/manual/en/function.ini-set.php
kengrayfield

Thanks for the help! I will

Thanks for the help! I will try it out and report back! So far, neither php.ini and .htaccess methods worked. This might be my last resort..