special phpmyadmin configuration

Discussion in 'Installation/Configuration' started by manarak, Apr 22, 2022.

  1. manarak

    manarak Member

    what is the best solution to give phpmyadmin some specific php.ini values ?
    I tried editing /etc/phpmyadmin/apache.conf but the php admin values aren't used by php7.4-fpm
    what can be done ?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    If using php-fpm you would create another conf file in /etc/php/7.4/fpm/pool.d/ for phpmyadmin, then adjust your apache config to use that correct socket (specified in the conf file) to talk to that fpm pool.
     
    manarak likes this.
  3. manarak

    manarak Member

    thanks for the hint.
    I'm afraid I'm not skilled enough to translate your description into commands.

    I'm not even sure why my phpmyadmin uses FPM.
    But I think it would be great to have a specific php.ini for the exclusive use of phpmyadmin.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That can be achieved by creating a website, installing phpmyadmin there and using Website Options in ISPConfig Panel. I'm not sure this is a good idea, why do you need to give PHPmyadmin those special settings?
     
  5. manarak

    manarak Member

    I need to give my phpmyadmin much larger resources to perform database operations that can take several minutes to complete and use large import/export files (up to 100MB in zipped form).
    I feel these settings would be unsafe for general PHP use.
     

Share This Page