Apc

mistwang

LiteSpeed Staff
#2
If there is a section for APC in your phpinfo page, APC has been loaded. If not, you need to check your php.ini to make sure to load apc.so properly.
 
#3
Thank for the quick reply --- but

If there is a section for APC in your phpinfo page, APC has been loaded. If not, you need to check your php.ini to make sure to load apc.so properly.

There is no section in my phpinfo.

; Directory in which the loadable extensions (modules) reside.
extension_dir = /lsphp5/lib/php/extensions/no-debug-non-zts-20060613/

that directory contains apc.so and suhosin.so

I also have another three lines later on in the php.ini

[APC]
apc.shm_size = 32
include_path = "/home/web/php/lsphp5"

Yet I still can not see what is going on and why APC won't fireup.
 

mistwang

LiteSpeed Staff
#4
do you have "extension=apc.so" in php.ini?

Run

/opt/lsws/fcgi-bin/lsphp5 -i

from command line see if there is any error at the beginning.
 
#5
That did it

Thank you so much...now I feel so silly. That did the trick.

I was assuming that line was not needed like suhosin.so is not needed because of this entry:

; Directory in which the loadable extensions (modules) reside.
extension_dir = /lsphp5/lib/php/extensions/no-debug-non-zts-20060613/

Thank you for correcting me. Someitme it takes a second set of eyes.
 
Top