upload_max_filesize phpmyadmin [resolved]

Discussion in 'General' started by mircot80, Feb 22, 2024.

  1. mircot80

    mircot80 New Member

    Hi, I apologize for the trivial question but I'm wasting hours on it.
    Where do you increase the maximum upload size in phpmyadmin?
    I changed upload_max_filesize = 20M to /var/www/conf/web4/php.ini
    But the maximum size is always 2M
    Thank you
     
  2. pyte

    pyte Well-Known Member HowtoForge Supporter

    Usually phpmyadmin is installed systemwide, not in the webroot of a specific user and uses the default system php version. So depending on you OS you need to change the "upload_max_filesize" in /etc/php/{VERSION}/apache2/php.ini for example.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Besides what @pyte posted, never change something in php.ini files in /var/www/conf/ manually as any manual change will get reverted automatically and replaced with what you configured in the custom php.ini field of the website in ISPConfig.

    But this does not matter for your original question as PHPMyAdmin does not use any of these php.ini files anyway.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    And for recent systems, the global PHP setup of phpmyadmin uses /etc/php/{VERSION}/fpm/php.ini as mod_php in apache has been replaced with php-fpm to allow http/2 support in Apache. And do not forget to restart the php-fpm daemon of the PHP version you edited the php.ini for.
     
    mircot80 and pyte like this.
  5. mircot80

    mircot80 New Member

    Perfect thanks.
     

Share This Page