• Pricing
  • Features
    • InterWorx
    • Clustering
    • Developers
    • Roadmap
  • Support
    • Overview
    • Latest News and Blog
    • Documentation
    • InterWorx Forums
    • Version History
    • Help Desk
    • FAQ’s
    • Feedback and Feature Requests
  • Company
    • End User License Agreement
    • Privacy Policy
    • Bug Bounty
    • InterWorx Partners
    • Our Brand
    • Website Accessibility Statement
    • Contact Us
  • My Account
How to Enable Greylisting to Prevent Spam
February 9, 2018
How to: Enable External Load Balancer Mode
August 12, 2019

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

Published by InterWorx on June 10, 2019

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 unixUsername

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

[[email protected] html]# pwd
/home/iwtestco/iwtest.com/html
[[email protected] html]# cat .user.ini
max_file_uploads = 15
[[email protected] 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/

Share
6

Related posts

October 16, 2020

How to Access NodeWorx Without a Password


Read more
September 15, 2020

How to Enable SNI for Mail Over Port 587 and 465


Read more
September 10, 2020

How to Enable Remote Assistance


Read more
  • Liquid Web Family of Brands
  • Liquid Web
  • Visit Nexcess
  • Visit iThemes
  • Visit Interworx
© 2019 InterWorx, LLC. All Rights Reserved.
      We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.