I'm using the audio module in Drupal 4.7.0. The text on the submission form is telling me:
"NOTE: the current PHP configuration limits uploads to 2 MB."

How can I change this limit?

---
Peter van Dorp

Comments

smokinggoat’s picture

You should probably check out the previous discussions on this:

http://drupal.org/node/50193

http://drupal.org/node/66718

dorp’s picture

...and sorry for the duplicate. I did check earlier posts, but apparently overlooked these two.

---
Peter van Dorp

jivyb’s picture

php_value upload_max_filesize 10M

This is for 10meg limit. Change the number to whatever you want.

www.robcomm.net

dorp’s picture

Thanks a lot! This worked fine, but I had to trick uploading the .htaccess file. Both my command-line ftp client and my regular ftp client refused to read the local .htaccess file (which I had adapted according to your instruction). So I uploaded the thing as htaccess and renamed it by ssh -- which worked fine. But there should be an easier way of doing this.

(By the way, I had to upload the file instead of editing it remotely, because I didn't have a remote copy yet. Apparently, it had been skipped when I first uploaded the Drupal directory for the same reason I couldn't upload it now).

---
Peter van Dorp

jivyb’s picture

I doubt you're still working on this, but one idea is to try uploading it with an html or php extension, then changing the file name with your ftp client to .htaccess

kjv1611’s picture

I'm no expert by any means, but if anyone else comes across this issue, and needs it fixed, look to see whether your client has any built-in filters/options to NOT transfer certain files. I believe that many default to not transfer certain extensions, and possibly those with no extensions.