PHP Switcher Path to php.ini Files for VHosts

  • Hello,


    I am sitting here for hours looking for the php.ini files for certian webhosts because i want to change the php upluad limit. I changed 3 to 4 php.ini files in several folders. Reloaded an also restarted apache but there is still the same upload limit.
    Where is the correct php.ini when iam using the php switcher plugin.


    Thanks in advance!

  • Where is the correct php.ini when iam using the php switcher plugin.

    There is a documentation where all is explained. See https://wiki.i-mscp.net/doku.php?id=plugins:phpswitcher


    Note that if you use FPM SAPI, there is only one php.ini file. Change for customers should be made through FPM pool configuration file.


    You should also avoid editing files manually as they will be reset by the plugin. Best would be to use https://github.com/i-MSCP/imsc…p_confoptions_override.pl

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

  • You´re welcome!


    I will close this thread.


    When you have another questions regarding the script feel free to open an new thread.


    Best regards.

    Support Infos: I-MSCP Version: 1.5.x / Distro: Debian Stretch / PHP: 7.1.27 - FPM / I-MSCP Plugins: Let´s Encrypt + PHPSwitcher (latest Versions)