Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
External Applications
>
PHP
>
Apc
Thread Tools
Display Modes
#
1
10-05-2008, 11:20 PM
shadowteller
New Member
Join Date: Oct 2008
Posts: 3
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.
shadowteller
View Public Profile
Send a private message to shadowteller
Find all posts by shadowteller
#
2
10-06-2008, 08:40 AM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
3
10-06-2008, 03:59 PM
shadowteller
New Member
Join Date: Oct 2008
Posts: 3
Thank for the quick reply --- but
Quote:
Originally Posted by
mistwang
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.
shadowteller
View Public Profile
Send a private message to shadowteller
Find all posts by shadowteller
#
4
10-07-2008, 06:33 AM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
5
10-07-2008, 07:29 AM
shadowteller
New Member
Join Date: Oct 2008
Posts: 3
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.
shadowteller
View Public Profile
Send a private message to shadowteller
Find all posts by shadowteller
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
08:12 PM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.