Whenever a new PHP version is installed on a server, the PHP-FPM settings currently have to be configured again manually for that PHP version.
It would be very useful if Ploi could automatically carry over the PHP-FPM configuration from the latest installed PHP version when installing a new one.
For example, I configure settings such as:
pm.max_children = 50
At the moment, whenever I upgrade or install a new PHP version, I have to manually apply these settings again on every server.
A possible implementation could be either:
- A set of default PHP-FPM settings that are automatically applied to newly installed PHP versions.
- An option during PHP installation to copy/migrate the PHP-FPM settings from the latest existing PHP version.
- Ideally, allow selecting which installed PHP version should be used as the configuration source.
This would make PHP upgrades much easier, especially when managing multiple servers, and would reduce the risk of accidentally running a new PHP version with the default PHP-FPM settings.