my upload file size is FIXED to 2MB!!!

Discussion in 'Common issues' started by man212, Dec 21, 2018.

  1. man212

    man212 New Member

    Joined:
    Nov 10, 2018
    Messages:
    12
    Likes Received:
    4
    S.E:
    2019-05-10 05:14:55
    L.T:
    Regular
    L.C:
    1
    hi Mailwizz nerds,

    i am facing a strange case, i can´t upload a list of emails witch is bigger then 2MB, even if i set the size file bigger.

    I also see that under CLI the max size is fixed to 2MB!!!, any idea how can i change this?

    [​IMG]
    [​IMG]
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,784
    Likes Received:
    2,301
    @man212 - For uploading files, mailwizz settings cannot be larger that the server settings, this is why even if you set a high limit in mailwizz it still cannot allow uploading larger files. You have to modify the php configuration to have the server allow larger files.
    If it makes easier to you, think the limit in mailwizz is the upper limit, like people can upload at most that size, but the server is the one which dictates.
     
  3. man212

    man212 New Member

    Joined:
    Nov 10, 2018
    Messages:
    12
    Likes Received:
    4
    S.E:
    2019-05-10 05:14:55
    L.T:
    Regular
    L.C:
    1
    @twisted1919
    this are my server setting.
    [​IMG]
    where can i change the php configuration? steps pls. Example ( login here--> click there ). Screenshots is also usefull.

    thank you in advance
     
  4. OptiBiz1

    OptiBiz1 Active Member

    Joined:
    Sep 28, 2015
    Messages:
    354
    Likes Received:
    116
    S.E:
    2024-09-02 01:41:15
    L.T:
    Extended
    L.C:
    21
    It's a bit depending on how you have installed PHP, but try to look under /etc/php . If you have multiple PHP version there and different ways of calling PHP, it can e.g. look like:

    /etc/php/7.1/cgi/php.ini
    /etc/php/7.1/cli/php.ini
    /etc/php/7.1/fpm/php.ini

    /etc/php/7.2/cgi/php.ini
    .
    .
    .
    It can also be under /opt/php*/lib/


    It's the php.ini file that you are interested in. In there you should look for a variable called "upload_max_filesize" which equals 2M in your installation. Set it higher.
     
    Last edited: Dec 22, 2018
  5. OptiBiz1

    OptiBiz1 Active Member

    Joined:
    Sep 28, 2015
    Messages:
    354
    Likes Received:
    116
    S.E:
    2024-09-02 01:41:15
    L.T:
    Extended
    L.C:
    21
    If you have been a good boy/girl during the year that just passed, eaten your porridge and you can't do what you need to do with php.ini, then send me a PM and I will do it for you (free of charge of course). Ho-ho-ho, Santa is here. :)
     
    Last edited: Dec 23, 2018
  6. man212

    man212 New Member

    Joined:
    Nov 10, 2018
    Messages:
    12
    Likes Received:
    4
    S.E:
    2019-05-10 05:14:55
    L.T:
    Regular
    L.C:
    1
    @OptiBiz1

    i am always a good boy ;-)

    you v got PM ;)
     
  7. OptiBiz1

    OptiBiz1 Active Member

    Joined:
    Sep 28, 2015
    Messages:
    354
    Likes Received:
    116
    S.E:
    2024-09-02 01:41:15
    L.T:
    Extended
    L.C:
    21
  8. man212

    man212 New Member

    Joined:
    Nov 10, 2018
    Messages:
    12
    Likes Received:
    4
    S.E:
    2019-05-10 05:14:55
    L.T:
    Regular
    L.C:
    1
    the directory is: nano/etc/php.ini.

    @Osjtya helps me to solve the problem and i learned from him.

    once again thank you very much @OptiBiz1 and @Osjtya :)
     
    Osjtya, OptiBiz1 and twisted1919 like this.

Share This Page