Note

You are viewing the documentation for an older release of Interworx (6.x). To see documentation for the current generally available release of Interworx, click here: 7.13.

How to Set Individual/Per-Domain php.ini Configurations for PHP-FPM

PHP-FPM users (which includes PHP versions included in the Multiple PHP Tool ) can create a per user php.ini file. This file must be located at /home/[unixuser]/domain/html/.user.ini or /home/unixuser/public_html/.user.ini

Set Up:

Under /home/unixuser/domain/html (or /home/unixuser/public_html), create a file named .user.ini. Make sure that it is named literally .user.ini, not to be confused with the unixuser name

 Edit the file to add the changes to be made. Example:

[root@project html]# pwd /home/iwtestco/iwtest.com/html
[root@project html]# cat .user.ini max_file_uploads = 15
[root@project html]#

Changes to php-fpm settings are a bit more limited than for SuPHP. More information is available here: https://www.pair.com/support/kb/php-ini-vs-user-ini/