dqsvnsad79721 2012-09-25 08:33
浏览 25
已采纳

wamp上有几个长时间运行的php脚本[关闭]

Is there a reason why I can't run two or more scripts in parallel in a local host environment? They just simply stop without any error message.

  • 写回答

2条回答 默认 最新

  • douzhuo5671 2012-09-25 08:51
    关注

    tcp connections have connection timeouts. after some idle time without data on the wire the connection closes and thus the script stops.

    php has time_limits additionaly to prevent high cpu usage. but this limit is not directly related to actual seconds but to uses cpu cycles.

    for long running scripts its better to run the from command line instead of the browser.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 nginx中的CORS策略应该如何配置
  • ¥30 信号与系统实验:采样定理分析
  • ¥100 我想找人帮我写Python 的股票分析代码,有意请加mathtao
  • ¥20 Vite 打包的 Vue3 组件库,图标无法显示
  • ¥15 php 同步电商平台多个店铺增量订单和订单状态
  • ¥15 关于logstash转发日志时发生的部分内容丢失问题
  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题