nginx
Setting a php_value in PHP-FPM
· ☕ 2 min read · ✍️ anz007

In this post, let’s take a look at the option for setting a php_value when using PHP‑FPM.

.user.ini Files

The first option for setting php_values is to use .user.ini files. For the Magento project in question this was just a matter of dropping a .user.ini in the root next to index.php and .htaccess with the following example.