您的位置:首页 > 运维架构 > Apache

apache_php_mssql_mysql_config

2008-03-16 20:43 232 查看
服务器配置:
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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: