open_basedir not being honored?

ffeingol

Well-Known Member
#1
We have LSWS running (testing on an alternate port) on a cPanel server. cPanel puts the following lines in httpd.conf:

Code:
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/xxx:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
[/code/

After we switch to LSWS I put up a quick phpinfo page for one of the sites and both the local and master values for open_basedir say "not set".

This is LSWS 3.2.1

TIA,

Frank
 

ffeingol

Well-Known Member
#2
I believe I solved my own issue. Buried in the error log was:

2007-08-04 23:57:23.876 [NOTICE] [config:server:epsr:phpLsapi]'Process Limit' probably is too low, adjust the limit to: 220.

I bumped the soft/hard limit from 200 to 220 and then things worked much better.

Frank
 
#3
I believe I solved my own issue. Buried in the error log was:

2007-08-04 23:57:23.876 [NOTICE] [config:server:epsr:phpLsapi]'Process Limit' probably is too low, adjust the limit to: 220.

I bumped the soft/hard limit from 200 to 220 and then things worked much better.

Frank
I've noticed that you've posted in another thread regarding LSAPI settings, etc. Relating back to this, what do you have set for the "Initial Request Timeout"? If it is the default (60) it may be worthwhile to reduce it to 30.
 
Top