is there a definite guide to setup post and upload sizes in imscp.

  • hi
    is there a definite guide to set up file post and upload sizes in php.ini.
    im running owncloud on a domain and i cannot upload no more than 2MB on another domain im running word press and its cannot upload images more than 2MB
    i want to them to have the possibility of uploading 3GB worth of files (unzipped) with the highest file size to be no higher that 900MB or a single bla.zip file of 3GB


    i ran php -i and i saw that the loaded php.ini file was loaded at /etc/php/cli/php.ini (i think i saw that too in imscp.conf) i did change its upload settings rebooted the server
    then i went back to Owncloud and WordPress with them still it complaining about the 2MB limit.
    i also switched to re-seller and edited the customers domain panels. there in the php settings dialog box no matter what value i put in as soon as i hit the update button and
    reopen the php settings panel the values reset themselves to default which are
    PHP post_ max_size configuration option 8 MiB
    PHP upload_max_filesize configuration option 2 MiB


    really, this is so annoying.


    please
    what do i need to do in order to achieve my goals ?


    TestLabs



    IMSCP 1.2.17, APACHE fpm, on Debian 8

    Edited 2 times, last by testlabs ().

  • Hey there, as admin you can give reseller permissions to define php settings. After that as reseller you can give customers permissions to set php settings. All is possible in admin panel.

  • thanks for the reply and really, excuse me as it appears that im not completely getting the logic flow of this. however this is what i have


    in reseller features (from admin to reseller point of view)
    ---------------------


    in the reseller i have


    All fields are valid.
    PHP Permissions
    Can edit the PHP allow_url_fopen configuration option Yes
    Can edit the PHP display_errors configuration option Yes
    Can edit the PHP disable_functions configuration option Yes
    Can use the PHP mail function Yes
    PHP directives values
    PHP max_execution_time configuration option 30 Sec.
    PHP max_input_time configuration option 60 Sec.
    PHP memory_limit configuration option1500 MiB
    PHP post_max_size configuration option1024 MiB
    PHP upload_max_filesize configuration option 1000 MiB




    in the client edit domain (from reseller to customer point of view)
    --------------------------
    PHP Yes
    PHP Editor Yes
    PHP Settings CGI Yes
    Custom DNS record No
    Software installer No
    External mail server No
    BackupDomain SQL Mail
    Web folder protection Yes



    in the client php settingts i have
    ----------------------------------
    Can edit the PHP allow_url_fopen configuration option Yes
    Can edit the PHP display_errors configuration option Yes
    Can edit the PHP disable_functions configuration option Yes
    Can use the PHP mail function Yes


    PHP directives values
    PHP max_execution_time configuration option 30 Sec.
    PHP max_input_time configuration option60 Sec.
    PHP memory_limit configuration option128 MiB
    PHP post_max_size configuration option8 MiB
    PHP upload_max_filesize configuration option 2 MiB


    at this point no matter what i set on
    PHP memory_limit configuration option, PHP post_max_size configuration option and PHP upload_max_filesize configuration option
    they simply defaultd back yo 128Mib, 8 mib and 2mib respectively once i hit the update button.

  • There is a bug in 1.2.17 which has been fixed in 1.3.x.


    You must either upgrade to 1.3.x or wait for 1.3.0 release.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • thanks for the solution
    i managed to get one of the domain set for 1GB upload after numerous amounts of clicks and switching back and forth between pages.
    i have been trying to do the same (or near enough) of clicking and switching on the other domain but its holding fast to the 2mib limit.

    anyway thanks for letting me know. ill give the 1.3.0 test drive shortly


    TL