I am trying to increase the allowed upload file size to work with the audio module but I am having some problems. My php.ini looks like this:

upload_max_filesize = 200M
max_execution_time = 1000
max_input_time = 1000
post_max_size = 400M
memory_limit = 512M

but in the upload settings I am still getting the message that my php settings limit my file upload size to 2mb. I can't figure out what I'm doing wrong here, any advice?

Thanks

Comments

dman’s picture

First - Check your phpinfo to ensure that the changes are really happening at the system level. Maybe you just changed the wrong file, need a restart, or don't have permission to change these things. We can only guess because you didn't describe your OS or environment.

See also /admin/settings/uploads
... And I think other upload managers like IMCE have their own settings for quotas too. Not sure about audio module - did you check its configs?

I THINK that some of these settings get set once, and remembered based on the php.ini settings. Adjusting php.ini later may not always adjust the setting in the Admin UI.

striktlyplatonik’s picture

all of my settings pages (/admin/settings/uploads and the create content>audio) give the message that the php settings are set to 2mb max, and if i try to change /admin/settings/uploads it gives the error message restating that 2mb is the max upload size. The audio module gives the same message. I'm running on windows xp.

dman’s picture

First - Check your phpinfo

striktlyplatonik’s picture

thanks for the feedback, i contacted my host and they told me i need to edit the .htaccess directly and not use a php.ini file. sorry, i did check the phpinfo and it was set to 2mb max upload size, but now it's set to a larger size ^^ thanks again

alan d.’s picture

Status: Active » Closed (fixed)