WHM Allow all accounts own php.ini
Hello,
I'm WHM root administrator and i want to allow all accounts to have their own php.ini file and php configuration page on cPanel. How to do it on WHM ?
Thanks.
-
Hello :) Accounts are allowed their own php.ini files by default if you are using suPHP as your PHP handler. PHP handlers are configured at: "WHM >> Service Configuration >> Configure PHP and SuEXEC" Thank you. 0 -
Yes i'm using suPHP but on cPanel accounts i can't change php version memory etc.. 0 -
Yes i'm using suPHP but on cPanel accounts i can't change php version memory etc..
Right, you can't change the PHP version without the use of a third-party plugin (e.g. PHP Selector with Cloud Linux). Support for this is planned for EasyApache 4, but it's currently not ready for production machines. You can change individual PHP values by copying /usr/local/lib/php.ini to the account's public_html directory and making the changes to the local file. Thank you.0 -
Accounts are allowed their own php.ini files by default if you are using suPHP as your PHP handler. PHP handlers are configured at: "WHM >> Service Configuration >> Configure PHP and SuEXEC"
This has changed now, any idea where I can find it as of version 60+? EDIT: nevermind. Found the answer here: How to Customize PHP Directives - cPanel Knowledge Base - cPanel Documentation0 -
This has changed now, any idea where I can find it as of version 60+? EDIT: nevermind. Found the answer here: How to Customize PHP Directives - cPanel Knowledge Base - cPanel Documentation
Hello, Please also see the following post for information about editing the php.ini file in EasyApache 4: EA4 php.ini/local.ini behavior Thanks!0
Please sign in to leave a comment.
Comments
5 comments