Page 1 of 1

Create custom php.ini for cpanel server with litespeed

Posted: Fri Feb 01, 2013 12:34 pm
by a24uall
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
PHPRC=$VH_ROOT
PHP_INI_SCAN_DIR=$VH_ROOT/php
Restart litespeed and the custom php.ini should work.