Request: .user.ini files for FPM config
On a couple of Magento1 sites I've had to configure nginx and have found .user.ini files to be most reliable. It is significantly easier than editing the system php.ini then restarting PHP-FPM and worrying about automatic updates over writing your work. Although the exact filename can be changed with user_ini.filename setting I have yet to see any server change this.
For Magento 2 I suggest two files, /.user.ini and /pub/.user.ini, to allow for situations where Magento files are not stored in the web root and are linked to instead. Their content is derived from the .htaccess.
memory_limit=768M
max_execution_time=18000
session.auto_start=off
Anything like this should be included as a .sample file only. Including the real file (eg .user.ini or even .htaccess) causes conflict with the "do not modify core" rule. Since the file is included in the install, I consider it "core". However, there are situations that require editing this file (thus breaking the rule).
Thanks for your suggestion! I will ask the architect review it. We will get back to you once we have the answer.
Internal ticket: MAGETWO-30489
Thank you for your submission.
We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.
Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).
We are closing this GitHub ticket and have moved your request to the new forum.
Yeah you really f***ed me here, moved away from apache to avoid issues caused by this sort of BS. Shame on you for forcing this into production systems, 2 hours of headaches wondering why my php-fpm memory limits aren't working. Thanks for your stupidity! 🤬