Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18648 Posts in 5528 Topics- by 9329 Members - Latest Member: sheen8a9d

May 21, 2013, 09:22:27 PM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVCBackend / AdministrationSolved Topics: Backend / AdministrationMaximum upload image size
Pages: [1]
Print
Author Topic: Maximum upload image size  (Read 4487 times)
0 Members and 1 Guest are viewing this topic.
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« on: June 02, 2009, 01:32:09 PM »

My Joomla config for joomgallery is currently set to use GD2.

I'm trying to increase the maximum upload image size but it wont let me set higher than roughly 2 MB, how can I configure this higher. I'd like to set it to 5mb roughly.

I've tweaked my php ini to allow 96mb memory and 96mb upload size so that cant be it.
« Last Edit: June 03, 2009, 08:44:47 AM by ergohost » Logged
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #1 on: June 03, 2009, 05:39:16 AM »

This is driving me crazy, I cant find where this limitation is coming from. I've edited the correct php.ini to allow bigger uploads but this limit keeps imposing itself in the jg_maxfilesize value.

Is the script getting this value passed to it from the server itself?
« Last Edit: June 03, 2009, 05:42:38 AM by ergohost » Logged
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: June 03, 2009, 05:53:30 AM »

Turns out it is, even though I've edited the php.ini theres an ovveride kicking in somewhere, got to talk to my provider, technically its a shared server but its a dedicated server I rent solely for my use  Mad
Logged
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #3 on: June 03, 2009, 07:46:21 AM »

It appears that since I have DSO configured as my default php handler any changes I make to the default system php.ini are being overridden.

There are config lines you can add to your .htaccess for individual sites that let you specify modified values, trying that now but joomla is throwing memory allocation errors at me, working with my host on options.

I'm trying the following :

php_value upload_max_filesize 128MB
php_value memory_limit 128MB
php_value post_max_size 128MB
php_value max_execution_time 180
php_value max_input_time 90

One solution I'll try if the htaccess route fails is to reconfigure apache to use suphp as a handler, it uses a little more resources and causes php scripts to run as account owner which is better for security and may let me turn off the stupid ftp layer in joomla which is currently causing me jftp error misery as well. I'll try the suphp route if the DSO workarounds fail.

Sorry for multiple posts, but I figure if I document this here it might help others.

I'll post back with whatever outcome solves this.
Logged
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #4 on: June 03, 2009, 08:04:29 AM »

Doh, the correct format is M and not MB as matches the php.ini format :

php_value upload_max_filesize 128M
php_value memory_limit 128M
php_value post_max_size 128M
php_value max_execution_time 180
php_value max_input_time 90

Think I soreted the upload problem, testing now, if I still get jftp annoyance may try the switch to suphp. On a different note the htaccess settings seem to have done joomla a bit of a performance improvement.
Logged
ergohost
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #5 on: June 03, 2009, 08:44:22 AM »

Ok, these worked superbly, fixed my problems setting upload limitations, as well as a couple of my other problems as well! I set my individual frontend file upload size limit to 5MB.

Remember, these apply if youre using DSO as your php handler in Apache, apparently if youre using suphp these types of modification to .htaccess dont work and you have to use custom php.ini files instead.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 868 access attempts in the last 7 days.

maternal