Customizing PHP Directives Questions
Once again I crash frontally with the documentaciond and WHM / Cpanel.
In your page "Overview
The PHP .user.ini file allows you to customize PHP directives on a per-directory basis.
System requirements
[LIST]
You must use PHP version 5.3.0 or higher.
You cannot use the DSO PHP handler.
Configuration requirements
We recommend that you review the interface ( Home >> Files >> File Manager ).
Click the Web Root.
Select the Show hidden files checkbox.
Click Go.
Click the target directory.
Click New File.
In the Create a New Field text box, enter .user.ini
Note:
Do not forget to include the period that precedes the file name.
Click Create New File.
Click .user.ini and click Edit.
Enter the PHP directives that you wish to adjust for the directory and click Save.
-
Hello, Could you let us know what PHP handler is enabled, and confirm if PHP-FPM is enabled/disabled for the domain name? Please also see these threads: Enabling PHP-FPM in MultiPHP Manager EA4 php.ini/local.ini behavior Thank you. 0 -
User is with PHP 5.6, PHP-FPM [LIST] - IF directive allow_url_open Off in php.ini global for php 5.6 through shell or through editor multiphp ini (/opt/cpanel/ea-php56/root/etc/php.d/local.ini) .user.ini not work (on path there're a info.php for debug). We need put ON for every server.
- On same .user.ini for testing porpouses, the're are serialize_precision = 200. This work perfectly.
0 -
Hello, The values within the php-fpm configuration override the ones in global php.ini. You'd have to follow the workaround instructions on the following thread to make changes to the php.ini when using PHP-FPM: Enabling PHP-FPM in MultiPHP Manager Thank you. 0
Please sign in to leave a comment.
Comments
3 comments