LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Xcache Headache

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2008, 03:41 PM
paulg1981 paulg1981 is offline
Member
 
Join Date: Jan 2008
Posts: 25
Default 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 :-)
Reply With Quote
  #2  
Old 12-02-2008, 11:50 AM
paulg1981 paulg1981 is offline
Member
 
Join Date: Jan 2008
Posts: 25
No One? Please help me out!
Reply With Quote
  #3  
Old 12-02-2008, 01:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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.
Reply With Quote
  #4  
Old 12-02-2008, 01:51 PM
paulg1981 paulg1981 is offline
Member
 
Join Date: Jan 2008
Posts: 25
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!
Reply With Quote
  #5  
Old 12-02-2008, 02:12 PM
paulg1981 paulg1981 is offline
Member
 
Join Date: Jan 2008
Posts: 25
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 :-)
Reply With Quote
  #6  
Old 12-02-2008, 02:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Open web console, and change server level script handler for "php4" from "lsphp4" to "lsphp5".
Reply With Quote
  #7  
Old 12-07-2008, 08:06 AM
fastproxy fastproxy is offline
Senior Member
 
Join Date: Nov 2007
Posts: 95
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.