Create custom php.ini for cpanel server with litespeed

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Create custom php.ini for cpanel server with litespeed

Post 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.
Arun
WebhostingDevelopment.com
Post Reply

Return to “Custom php.ini”