注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 IB客座主编(四)美国西蒙公..
 帮助

apache_php_mssql_mysql_config


2008-03-16 20:43:41
 标签:apache config mssql   [推送到技术圈]

服务器配置:
session.save_path = "D:\AppServ\www\session_tmp"------------php.ini
register_globals = Off--------------------------------------php.ini
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR------php.ini---not config this in test period
max_execution_time = 60-------------------------------------php.ini
max_input_time = 60-----------------------------------------php.ini
memory_limit = 20M------------------------------------------php.ini
mssql.connect_timeout = 600---------------------------------php.ini
mssql.timeout = 600-----------------------------------------php.ini
mssql.min_error_severity = **-------------------------------php.ini---not config this in test period
mssql.min_message_severity = **-----------------------------php.ini---not config this in test period

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule mpm_worker_module>
StartServers 3 #最初建立进程的数量
ServerLimit 25 #进程建立的最大数量,硬限制
ThreadLimit 200 #每一进程能创建线程的最大数量,硬限制,该参数建议
#和ThreadsPerChild一致,如果ThreadLimit>ThreadsPerChild的话,会造成不
#必要的内存消耗。
MaxClients 2000 #同时可以得到处理的客户端的最大数量
MinSpareThreads 50 #所有进程中空闲线程的总数最小数值
MaxSpareThreads 200 #所有进程中空闲线程的总数最大数值
ThreadsPerChild 200 #每个子进程可以建立的固定数量的线程
MaxRequestsPerChild 0 #用于控制服务器建立和结束进程的频率,为0表示没有
#限制,但在solaris OS下该值可能会出错,可以设置为1000或2000。根据系统
#的并发负载吧。
</IfModule>




    文章评论
 
2008-03-17 09:46:53
来看看。。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: