LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   the setting of eaccelerator and memcache (http://www.litespeedtech.com/support/forum/showthread.php?t=6475)

lucayang 12-17-2012 09:56 AM

the setting of eaccelerator and memcache
 
Hello,

I use litespeed plugin on my whm vps. and I have also installed eaccelerator and memcache when the vps ran apache before. Now I change to using litespeed, but I do not see any setting of eaccelerator and memcache on php.ini of Litespeed plugin. Should I add any setting of them on php.ini? and if I want to adjust the setting of eaccelerator and memcache, how should I do? Thanks.

Best Regards,

LQ

NiteWave 12-17-2012 05:20 PM

have you built matching php after install litespeed plugin for cPanel ?

lucayang 12-18-2012 12:52 AM

Quote:

Originally Posted by NiteWave (Post 39531)
have you built matching php after install litespeed plugin for cPanel ?

Hello,

Yes, I have already built matching php. But I cannot see the settings memcache, eAccelerator, and Suhosin on php.ini of Litespeed. but I can see them on php.ini of Apache. so should I manual add them to php.ini of Litespeed? Thanks.

Best Regards,

LQ

webizen 12-18-2012 10:47 AM

if you already built matching PHP, lsws should use the same php.ini as Apache. To locate the php.ini used by lsws, issue below from command line:
Quote:

/usr/local/lsws/fcgi-bin/lsphp5 -i| grep "Configuration File"

lucayang 12-18-2012 11:47 AM

Quote:

Originally Posted by webizen (Post 39707)
if you already built matching PHP, lsws should use the same php.ini as Apache. To locate the php.ini used by lsws, issue below from command line:

Hi,

You mean after I run the command "/usr/local/lsws/fcgi-bin/lsphp5 -i| grep "Configuration File" ", LSWS will use the Apache php.ini, does it? Thanks.

webizen 12-18-2012 12:03 PM

No. That command is to help you find out which php.ini is used by lsws. To find out which php.ini is used by Apache, run 'php -i | grep "Configuration File".

If lsws is using the matching PHP built from whm plugin, it should use the same php.ini as Apache.

lucayang 12-18-2012 12:44 PM

ok, thanks.


All times are GMT -7. The time now is 01:08 PM.