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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > APC Not enabled?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2012, 05:05 AM
awood969 awood969 is offline
New Member
 
Join Date: Jan 2012
Posts: 6
Question APC Not enabled?

Hi guys/gals,

Just need some help with regards to APC.

I have just recompiled PHP using the Litespeed web panel selecting the APC add-on. This is for PHP version 5.3.8.

After the process completing without error i then adjusted my php.ini file to include extension=apc.so next to the other extensions i run (nothing conflicting).

I restarted the server and loaded up a phpinfo() page, only to discover that apc isn't enabled, and not even shown on the phpinfo() page.

Could anybody shine some light on this for me?

Thanks
Andrew
Reply With Quote
  #2  
Old 01-23-2012, 12:14 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
make sure the php.ini you enabled apc.so in is the one used by lsphp5.

Quote:
/usr/local/lsws/fcgi-bin/lsphp5 -i | grep php.ini
Reply With Quote
  #3  
Old 01-31-2012, 02:44 PM
awood969 awood969 is offline
New Member
 
Join Date: Jan 2012
Posts: 6
Yes its the been added to the correct php.ini. Any other ideas? I still haven't fixed it :-(
Reply With Quote
  #4  
Old 01-31-2012, 03:41 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
paste here the output of

Quote:
/usr/local/lsws/fcgi-bin/lsphp5 -i | grep -i apc
Reply With Quote
  #5  
Old 01-31-2012, 03:44 PM
awood969 awood969 is offline
New Member
 
Join Date: Jan 2012
Posts: 6
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library './geoip.so' - ./geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './http.so' - ./http.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './apc.so' - ./apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in Unknown on line 0
The laugh is geoip is fine, we have it working in scripts
Reply With Quote
  #6  
Old 01-31-2012, 05:41 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
maybe your lsws does not use default lsphp (/usr/local/lsws/fcgi-bin/lsphp5). check binary path (Admin CP => Configuration => Server => External App => lsphp5 => command).
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 02:34 PM.



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