1. Forums
  2. General
  3. General Discussion
  1. Kevin Morrison
  2. Wednesday, 12 November 2014
  3.  Subscribe via email
rediculous limits
Rate this post:
  1. 12.11.2014 14:11:26
  2. # 1
Kevin Morrison Accepted Answer
Posts: 11
Joined: 25.09.2013
I have setup all the PHP versions with a upload_max_filesize of 512 but there are some that are allowing unlimited (∞) and others that are upwards of 50GB uploads regardless of the limits set. What rules and what overrides here? How can I fix this?
  1. 13.11.2014 13:11:12
  2. # 2
Kevin Morrison Accepted Answer
Posts: 11
Joined: 25.09.2013
Any help with this would be great. I have searched everywhere for a reason and so far I am coming up with blanks. I just don\'t get what is overriding the php.ini files?
  1. 14.11.2014 02:11:26
  2. # 3
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
Kevin, do you use PHP -Selector? And what control panel?

Where do you see upload_max_filesize different from your server default (512M) ? If it\'s on regular phpinfo() page then definitely this is done with php.ini or with .htaccess file (just look for any directory above virtualhost documentroot). If you just see someone can upload larger 512M file - this could be changed right before upload progress in same .php file, using for example this code:

ini_set(\"upload_max_filesize\",\"300M\" ) ;

In this case I would recommend checking for that directive recursively in domain root, this way:

cd /path_to_domain/
grep upload_max_filesize . -Rs
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.
By submitting the response, you agree with Cloudlinux Privacy Policy