Change website

From Jan 16 2015,


All post content will be move to we's offical website with many content...

Can access website here: http://justox.com

Thanks for your visit!

Thursday, 19 December 2013

Enable custom php.ini in litespeed cpanel server

This document lists the options to use per user php.ini under the environment of hosting control panel(cPanel/WHM, Plesk, DirectAdmin, etc) + LiteSpeed Web Server(LSWS).
Put something like “PHPRC=$VH_ROOT” in lsphp environment (Web Admin Console→Server→External App→lsphp5→Edit→Environment).

After that restart the litespeed server from back-end(/etc/init.d/lsws restart).
And put the custom php.ini in the following path /home/<user>/
Note:
  • Make sure permission of php.ini file is readable by suEXEC user
  • PHPRC is to use user-defined php.ini ONLY.
  • $VH_ROOT refers to user’s home directory which applies to every vhost(user account) under one main account.

No comments:

Post a Comment