php.ini under domain directory is not applied?
Hi, I have the MultiPHP manager installed. However, I found my domain only applies global PHP settings. For example, I logged into a user's cPanel and change the memory_limit in MultiPHP INI Editor, but it won't override the global settings.
In MultiPHP INI Editor, it indicated it will modify the file of "/home/USER/public_html/php.ini", however, if I ssh into the server as this user, this path won't show up:
Is there anything I need to change to make php.ini to take effect to each user?
root@whm [~]# su - USER
USER@DOMAIN [~]# php -i|grep -i php.ini
Configuration File (php.ini) Path => /opt/cpanel/ea-php71/root/etc
Loaded Configuration File => /opt/cpanel/ea-php71/root/etc/php.iniIs there anything I need to change to make php.ini to take effect to each user?
-
Can you tell me about the configuration? Are you running php-fpm? What PHP handler are you using if not? 0 -
Can you tell me about the configuration? Are you running php-fpm? What PHP handler are you using if not?
php-fpm is disabled globally, however, it is enabled on that individual account. PHP handler is using suPHP for all PHP versions.0 -
This documentation goes over how to manage .ini directives with php-fpm How to Manage Your php.ini Directives with PHP FPM | cPanel & WHM Documentation 0
Please sign in to leave a comment.
Comments
3 comments