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

Go Back   LiteSpeed Support Forums > External Applications > PHP > Litespeed is using APC beta

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2010, 07:19 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
Default Litespeed is using APC beta

Hi.

Im converting to litespeed because running with suexec its the fastest webserver by far.
And i used the litespeed's php compiler/etc thingy to build php 5.2.14 with no real problems.

However some of the sites started having some strange issues, mostly related to when apc.include_once_override is enabled it was causing wordpress sites to error with: "Call to undefined function wp_dashboard_setup".

I discovered it is because litespeed's php compiler used a beta version of APC (3.1.3p1) instead of the stable version (3.0.19).
Compiling the stable APC version myself and restarting the php processes instantly solved the problems on all the sites involved.

I admit that the stable version is rather old, and the beta version of APC seems 'good enough' when you do some quick tests.
But I think its important that there should be lots of red text and popups and warnings and notices when something wants to use beta software for a 'professional high performance webserver'

Last edited by anything; 10-08-2010 at 07:23 AM..
Reply With Quote
  #2  
Old 10-09-2010, 01:08 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
can you upgrade to 4.0.17 and rebuild php? it uses APC 3.1.4

this looks the first report we received regarding APC 3.1.3p1 not working with WP well. and we have selected APC version higher than 3.0.19 for a long time. that's why we don't stick to 3.0.19.

thanks for the report. We may change the APC build way if confirmed with it.
Reply With Quote
  #3  
Old 10-09-2010, 01:48 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
Ill give it a go when I get a chance

I actually found heaps of similar wp error reports online. But nobody seemed to figure out that the actual cause was APC.
They were all making changes to wordpress's php scripts to get around it only to suffer random module issues afterwards.
Reply With Quote
  #4  
Old 11-12-2010, 06:40 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
I gave the latest litespeed and apc 3.1.4 a go last week when i upgraded some servers.
Again - I comment that litespeed gave no option to use a STABLE version

with this new version things went horribly wrong.
inconsistent and random strange stuff happening all over the place.
as well as "unable to allocate memory for pool" at random times.
sorry i have nothing specific for you, i assume depending on their state the different processes of php were behaving slightly differently to each other

but same as last time, this was instantly solved by rolling back to a stable version of APC.
perhaps it something specific about our config
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 04:03 PM.



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