Some hosting accounts use the PHP Selector instead of php.ini files to configure PHP settings. However, you can still specify custom PHP settings for a directory by using .user.ini files. This article explains how to set up and use .user.ini files on your account.
When you create a .user.ini file, any PHP directives in the file are only active in that directory (and any subdirectories beneath it). This enables you to have different PHP settings for different directories. This may be necessary, for example, if you install two applications on your account that have different PHP requirements.
To enable custom settings in a .user.ini file, follow these steps:
display_errors=On
To view the official PHP documentation, please visit https://www.php.net/docs.php.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.