LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Xcache Headache (http://www.litespeedtech.com/support/forum/showthread.php?t=2512)

paulg1981 12-01-2008 03:41 PM

Xcache Headache
 
Hello,
I have successfully installed litespeed and compiled php with the web interface. I have added "extension=xcache.so" and removed any data in the "extension_dir=""" variable in php.ini

The problem is that phpinfo shows xcache 1.2.2 but when I try to use the admin folder (copied from the source folder to my web root) It says Xcache not loaded? The site is running slower than it did previously with litespeed and xcache also so I know it isn't working properly? Any ideas?

Thanks for any help you can provide :-)

paulg1981 12-02-2008 11:50 AM

No One? Please help me out!

mistwang 12-02-2008 01:45 PM

Just create a phpinfo() page under the admin folder to verify if xcache get loaded or not.
Also, you may want to disable PHP suEXEC to make all PHP processes to share the same cache memory if your server is not for shared hosting.

paulg1981 12-02-2008 01:51 PM

Okay now I am more confused, the phpinfo in the admin folder shows php 4.4.9 with no xcache? The phpinfo from the litespeed placeholder page shows 5.2.6 with xcache....How do I make ls use the newer version or what did I miss? Thanks for any help you can provide!

paulg1981 12-02-2008 02:12 PM

Okay I got it!

It appears that lsphp was not replaced with the new build when it was compiled? I copied lsphp-5.2.6 to lsphp and voila! Thanks for the tip mistwang :-)

mistwang 12-02-2008 02:52 PM

Open web console, and change server level script handler for "php4" from "lsphp4" to "lsphp5".

fastproxy 12-07-2008 08:06 AM

I think you edited the wrong PHP.ini file,
try to use Phpinfo() and see which PHP.ini is loading, and edit that file with your xcache info


All times are GMT -7. The time now is 07:07 AM.