Create custom php.ini for cpanel server with litespeed
Posted: Fri Feb 01, 2013 12:34 pm
Open litespeed configuration panel :
Under Lite speed >> Configuration >> Server >> External App >>
Click "edit" near "LSAPI App" lsphp5
Near the table named "Environment" add the below lines to the bottom
Under Lite speed >> Configuration >> Server >> External App >>
Click "edit" near "LSAPI App" lsphp5
Near the table named "Environment" add the below lines to the bottom
Restart litespeed and the custom php.ini should work.PHPRC=$VH_ROOT
PHP_INI_SCAN_DIR=$VH_ROOT/php