"No individual file may be larger than 2 megabytes"
bernitz
Joined: 2006-04-27
Posts: 3 |
Posted: Thu, 2006-04-27 15:47 |
Hi All, I'm somewhat of a newbie to websites, linux and mysql so please excuse any stupid questions. I'm running into the issues that seem to have been seen by a few people on the forums - though I an unable to solve it. I cannot upload any pictures > 2Meg. I have followed the instructions here: http://codex.gallery2.org/index.php/Gallery2:FAQ#Why_can.27t_I_upload_big_files_.28over_a_megabyte_or_two.29.3F I have tried setting the post_max_size and upload_max_filesize to large values in my main php.ini file and also a php.ini file in the gallery directory to no avail. I have also adding post_max_size = 12M to upload_max_filesize = 12M .htaccess file which did not help. The upload page always says "No individual file may be larger than 2 megabytes" whatever I do. Has anyone got any hints about what I can do to help fix this? Is there any way I can see where gallery is picking up the 2M max filesize from? Many Thanks Gallery version = 2.1.1 core 1.1.0.1 |
|
Posts: 13451
Did you restart apache after changing the limits? Also, does your phpinfo page reflect the changes?
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org
Posts: 3
Yes - multiple times. Also rebooted the server.
Alas no! Is there a trick to make sure mysql takes the new settings?
Many Thanks for your help!
Kevin
Posts: 13451
Mysql doesn't enter the equation here. Check the top of your phpinfo page and make sure you edit the correct one (the path to it is listed in the output)
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org
Posts: 3
Configuration File (php.ini) Path /etc/php.ini -> Thats the one I changed... No luck
Once again - I really appreciate your help!
Kevin
Posts: 13451
Then I really don't know why that happens. You edit the right file, and still the changes you made doesn't show up in the phpinfo page after restarting Apache. That sounds very strange, and I have no idea why that happens.
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org