Max larger size of 2MB when uploading Docman files

Asked

Viewed 215 times

1

When I try to send a file through Docman from Joomla he won’t let me send larger files from 2MB. However, I’ve been looking at all the Cpanel settings and they all have a good limit. Here is a print of the settings I put in Cpanel, but still can’t:

SS

Error image in joomla: SS

  • It wouldn’t be some setup on Joomla ?

  • Also check the configuration of post_max_size

  • @gmsantos the post_max_size is also at 200M

2 answers

1

Try to change the limits at runtime. Add these lines at the beginning of your script

ini_set("memory_limit", "64M");
ini_set("upload_max_filesize", "16M");
  • can you specify better where I can put these lines? is that with joomla it is not easy to put these lines in the script

  • @pc_oc, will use the PHP page itself. See DOC on ini_set

1


I was able to solve it as follows. I created a php.ini file inside the folder and put the following line there:

upload_max_filesize = 128M

Browser other questions tagged

You are not signed in. Login or sign up in order to post.