![]() |
Apc
So I followed this Wiki entry and --enable-apc shows in my phpinfo file. However if I run APC.php it says that APC is not running. Please help.
|
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.
|
Thank for the quick reply --- but
Quote:
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. |
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. |
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. |
| All times are GMT -7. The time now is 01:27 AM. |