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

Go Back   LiteSpeed Support Forums > External Applications > PHP > experiences with APC and php-4.4 / php-5.1 ?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-15-2006, 10:02 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
APC is indeed installed and is shown correctly in the php -i output.

Yes, immediately on load of a PHP script, and commenting out the extension (and rebooting LSWS) solves the problem.

extension_dir = "/opt/lsws/lsphp_install/lib/php/extensions/no-debug-non-zts-20050922/"
extension="apc.so"

Originally I had APC as SHM, but deciding to try it differently I enabled MMAP to no avail.

My thought here is a communication problem between PHP and Litespeed.

LSAPI PHP config:
Code:
Name	phpLsapi
Address	uds://tmp/lshttpd/lsphp.sock
Max Connections	20
Environment	PHP_LSAPI_MAX_REQUESTS=500
Initial Request Timeout (secs)	60
Retry Timeout (secs)	0
Persistent Connection	N/A
Connection Keepalive Timeout	N/A
Response Bufferring	No
Auto Start	Yes
Command	$SERVER_ROOT/fcgi-bin/lsphp
Back Log	100
Instances	20
Run On Start Up	N/A
Max Idle Time	N/A
Priority	0
Memory Soft Limit (bytes)	80M
Memory Hard Limit (bytes)	100M
Process Soft Limit	200
Process Hard Limit	200
Reply With Quote
 

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 05:07 PM.



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