How to create custom php.ini file in a Litespeed Web-server
create the customfile for a particular domain.
1) Login to your WHM >> Select “Litespeed Configuration” >> Admin Console >> Configuration >> Server >> External App >> lsphp5
2 ) Here, click the ‘Edit’ option
In the “Environment “ section, add “ PHPRC=$VH_ROOT ”
In the “suEXEC User “ section, add the account’s username for which customhas to be enabled and for “suEXEC Group “ section, add the group name of the account.
save the changes.
3) Now proceed as Main >> Litespeed Webserver >> Quick Configuration of PHP suEXEC settings
Here, “Enable PHP suEXEC” should be ‘yes‘.
4) Restart your Litespeed Web server now,
Then create the custom
Powered by WHMCompleteSolution