set Roundcube max file size

Discussion in 'ISPConfig 3 Priority Support' started by chico11mbit, Apr 27, 2022.

  1. chico11mbit

    chico11mbit Member

    Hi,
    I would like to increase the maximum file size of sent files for Roundcube. I have not changed anything in the whole files so far. To see which PHP version is used I put a info.php file in /var/lib/roundcube/
    There it says as path to php.ini
    Code:
    Server API    FPM/FastCGI
    Virtual Directory Support    disabled
    Configuration File (php.ini) Path    /etc/php/7.4/fpm
    Loaded Configuration File    /etc/php/7.4/fpm/php.ini
    Scan this dir for additional .ini files    /etc/php/7.4/fpm/conf.d
    if I change the values in /etc/php/7.4/fpm/php.ini to
    Code:
    php_value memory_limit 15M
    php_value post_max_size 20M
    php_value upload_max_filesize 15M
    nothing changed after restarting apache2 with "service apache2 restart" after navigating to the info.php file.
    Please help me to increase the max filesize for email attachements to 15MB.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    you have to restart php7.4-fpm
     
  3. chico11mbit

    chico11mbit Member

    Thx a lot. It works.
    for future requests: In ubuntu:
    systemctl restart php7.4-fpm.service
     

Share This Page