How to php.ini parameters for panel?

  • Hi,


    Think I found a bug.


    In settings for a domain we have the following entries:
    post_max_size = 100
    upload_max_filesize = 100


    But in phpmyadmin it never change above 20MiB...


    See screenshots...


    Screenshot_22.png


    Screenshot_23.png

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

    Edited once, last by Nuxwin ().

  • You have to change the main php.ini, because phpmyadmin is behind the panel settings and not behind your domain settings.

    Edited once, last by Nuxwin ().

  • I have no idea about what you are talking about. Does this mean that you can't setup the upload file size from the panel?

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

    Edited once, last by Nuxwin ().


  • I have no idea about what you are talking about. Does this mean that you can't setup the upload file size from the panel?


    Hello


    The php.ini for pma belong to the panel php.ini file, not to your customer php.ini files.


    Thank you for using i-MSCP

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

    Edited once, last by Nuxwin ().

  • I feel stupid, this is logic - my bad...


    It came out of a discussion at the hosting center. Thanks to clarify this!
    [hr]
    Just another stupid question!
    Witch php.ini do we talk about. We found the folloing few:
    /etc/imscp/fcgi/parts/master/php5/php.ini
    /etc/imscp/fcgi/parts/php5/php.ini
    /etc/imscp/php-fpm/backup/php.ini.system
    /etc/imscp/php-fpm/working/php.ini
    /etc/php5/cli/php.ini
    /etc/php5/fpm/php.ini
    /usr/local/src/imscp-1.1.0-rc2.3/configs/debian/fcgi/parts/master/php5/php.ini
    /usr/local/src/imscp-1.1.0-rc2.3/configs/debian/fcgi/parts/php5/php.ini
    /usr/share/doc/php5-common/examples/php.ini-development
    /usr/share/php5/php.ini-production
    /usr/share/php5/php.ini-production.cli


    We tried /etc/php5/fpm/php.ini with no luck...

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

    Edited once, last by Nuxwin ().

  • Re;


    Edit both /etc/php5/fpm/pool.d/master.conf and /etc/imscp/php-fpm/parts/master/pool.conf files and then, add the following at bottom:


    Code
    1. php_value[post_max_size] = 100M
    2. php_value[upload_max_filesize] = 100M


    Then restart both apache2 and php5-fpm services


    Thank you for using i-MSCP

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

    Edited once, last by Nuxwin ().

  • OK, yes this works.... I am a little confused... But this is above my knowledge about i-MSCP... But it was good to know. Thanks...

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------