I am installing Litespeed on a new server. I decided to try v3 beta as the new server is 64 bit OS.
Very easy install! Went well
I have read that it already contains opcode cache but I don't see anything in phpinfo.php that shows it running. This can be seen here:
http://198.65.115.221/phpinfo.php
I did attempt to install PHP 5.2.0 but ended up with blank pages. I am using an old version of VB though and think that may be the problem. I will try that again after upgrading VB.
I may have messed up a setting for apc when I did that. I am getting this in the error log:
[10.1.1.1:4323-0#_AdminVHost] [STDERR] PHP Warning: Unknown(): Unable to load dynamic library './apc.so' - ./apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have checked php.ini and no mention of apc.so so I can't figure out where it is calling it from
I have copied most of the configuration settings from the old, much less powerful server and wondered if I should change anything. Here are the current settings for my main forum:
Name
phpLsapi
uds://tmp/lshttpd/lsphp.sock
Address
Notes
Max Connections number valid range: 1 - 2000
100
Environment
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=100
Initial Request Timeout (secs) number >= 1
180
Retry Timeout (secs) number >= 0
0
Persistent Connection No
Connection Keepalive Timeout number valid range: -1 - 10000
100
Response Bufferring No Yes No for Non-Parsed-Header (NPH)
Auto Start Not Set
Command
Back Log number valid range: 1 - 100
100
Instances number valid range: 0 - 1000
1000
Run On Start Up Not Set
Max Idle Time number >= -1
Priority number valid range: -20 - 20
Memory Soft Limit (bytes) number >= 0
Memory Hard Limit (bytes) number >= 0
Process Soft Limit number >= 0
Process Hard Limit number >= 0
The server settings are here:
Name
Address
Notes
Max Connections number valid range: 1 - 2000
20
Environment
PHP_LSAPI_MAX_REQUESTS=500
Initial Request Timeout (secs) number >= 1
60
Retry Timeout (secs) number >= 0
0
Persistent Connection Yes No Not Set
Connection Keepalive Timeout number valid range: -1 - 10000
Response Bufferring No
Auto Start Yes Command
$SERVER_ROOT/fcgi-bin/lsphp
Back Log number valid range: 1 - 100
100
Instances number valid range: 0 - 1000
20
Run On Start Up Not Set
Max Idle Time number >= -1
Priority number valid range: -20 - 20
0
Memory Soft Limit (bytes) number >= 0
80M
Memory Hard Limit (bytes) number >= 0
100M
Process Soft Limit number >= 0
220
Process Hard Limit number >= 0
220
Server tuning settings are here:
Max Connections 2000
Max SSL Connections 200
Connection Timeout (secs) 300
Max Keep-Alive Requests 1000
Smart Keep-Alive No
Keep-Alive Timeout (secs) 5
Send Buffer Size (bytes) 0
Receive Buffer Size (bytes) 0
I/O Event Dispatcher poll (All platforms)
Max Cached Small File Size (bytes) 4096
Total Small File Cache Size (bytes) 20M
Max MMAP File Size (bytes) 256K
Total MMAP Cache Size (bytes) 40M
Use sendfile() Not Set
SSL Hardware Accelerator (built-in) OpenSSL internal engine
Request/Response Edit
Max Request URL Length (bytes) 4096
Max Request Header Size (bytes) 8192
Max Request Body Size (bytes) 10M
Max Dynamic Response Header Size (bytes) 4K
Max Dynamic Response Body Size (bytes) 1M
GZIP Compression Edit
Enable Compression Yes
Enable Dynamic Compression Yes
Compression Level (Dynamic Content) 6
Compressible Types text/html
Auto Update Static Yes
Compression Level (Static File) 6
Max Static File Size (bytes) 1M
Min Static File Size (bytes) 300
Thank you for any help!
Very easy install! Went well
I have read that it already contains opcode cache but I don't see anything in phpinfo.php that shows it running. This can be seen here:
http://198.65.115.221/phpinfo.php
I did attempt to install PHP 5.2.0 but ended up with blank pages. I am using an old version of VB though and think that may be the problem. I will try that again after upgrading VB.
I may have messed up a setting for apc when I did that. I am getting this in the error log:
[10.1.1.1:4323-0#_AdminVHost] [STDERR] PHP Warning: Unknown(): Unable to load dynamic library './apc.so' - ./apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have checked php.ini and no mention of apc.so so I can't figure out where it is calling it from
I have copied most of the configuration settings from the old, much less powerful server and wondered if I should change anything. Here are the current settings for my main forum:
Name
phpLsapi
uds://tmp/lshttpd/lsphp.sock
Address
Notes
Max Connections number valid range: 1 - 2000
100
Environment
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=100
Initial Request Timeout (secs) number >= 1
180
Retry Timeout (secs) number >= 0
0
Persistent Connection No
Connection Keepalive Timeout number valid range: -1 - 10000
100
Response Bufferring No Yes No for Non-Parsed-Header (NPH)
Auto Start Not Set
Command
Back Log number valid range: 1 - 100
100
Instances number valid range: 0 - 1000
1000
Run On Start Up Not Set
Max Idle Time number >= -1
Priority number valid range: -20 - 20
Memory Soft Limit (bytes) number >= 0
Memory Hard Limit (bytes) number >= 0
Process Soft Limit number >= 0
Process Hard Limit number >= 0
The server settings are here:
Name
Address
Notes
Max Connections number valid range: 1 - 2000
20
Environment
PHP_LSAPI_MAX_REQUESTS=500
Initial Request Timeout (secs) number >= 1
60
Retry Timeout (secs) number >= 0
0
Persistent Connection Yes No Not Set
Connection Keepalive Timeout number valid range: -1 - 10000
Response Bufferring No
Auto Start Yes Command
$SERVER_ROOT/fcgi-bin/lsphp
Back Log number valid range: 1 - 100
100
Instances number valid range: 0 - 1000
20
Run On Start Up Not Set
Max Idle Time number >= -1
Priority number valid range: -20 - 20
0
Memory Soft Limit (bytes) number >= 0
80M
Memory Hard Limit (bytes) number >= 0
100M
Process Soft Limit number >= 0
220
Process Hard Limit number >= 0
220
Server tuning settings are here:
Max Connections 2000
Max SSL Connections 200
Connection Timeout (secs) 300
Max Keep-Alive Requests 1000
Smart Keep-Alive No
Keep-Alive Timeout (secs) 5
Send Buffer Size (bytes) 0
Receive Buffer Size (bytes) 0
I/O Event Dispatcher poll (All platforms)
Max Cached Small File Size (bytes) 4096
Total Small File Cache Size (bytes) 20M
Max MMAP File Size (bytes) 256K
Total MMAP Cache Size (bytes) 40M
Use sendfile() Not Set
SSL Hardware Accelerator (built-in) OpenSSL internal engine
Request/Response Edit
Max Request URL Length (bytes) 4096
Max Request Header Size (bytes) 8192
Max Request Body Size (bytes) 10M
Max Dynamic Response Header Size (bytes) 4K
Max Dynamic Response Body Size (bytes) 1M
GZIP Compression Edit
Enable Compression Yes
Enable Dynamic Compression Yes
Compression Level (Dynamic Content) 6
Compressible Types text/html
Auto Update Static Yes
Compression Level (Static File) 6
Max Static File Size (bytes) 1M
Min Static File Size (bytes) 300
Thank you for any help!