Enable litespeed custom php.ini on cPanel server

Once you switched your webserver  to litespeed individual php.ini files wont work. Follow the below steps to make it working

First loin to the litespeed admin area.




To reset litespeed password please follow this link  Reset Litespeed password


Once you are in Go to


Configuration => Server => External App =>lsphp5 => Edit


Now under Environment add the below line and click Save



To place php.ini under /home/username/public_html use the cose


Now restart litespeed after that you can use php.ini under /home/<user>/php.ini

/etc/init.d/lsws restart


Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59 

[sep][/sep][button size=”large” color=”green” title=”Server Management from iServersupport” link=”http://iserversupport.com/cpanel-server-management/”]Server Management at just $59[/button]