xdebug断掉调试经常无故断开(phpstudy8.0篇)

打开Apache的所属网网站配置文件,我的使用的vhost,具体位置在我的电脑上的位置在如下目录下,此目录下即相应的虚拟主机的配置文件,打开你需要配置的虚拟主机配置文件。


  因为我的项目都是ebisustore.yu_9203.conf,所以需要在ebisustore.yu_9203.conf这个配置文件加入两条指令:

    IPCConnectTimeout 3000
    IPCCommTimeout 3000

   其他的项目同理.

注:
  经网友在评论区提醒,直接在http.conf文件中添加这两条指令也可以,不过这样会使所有项目受到影响,一改全改。如果涉及到全局修改的话,确实是很方便。

  下面的具体的配置文件,两条配置项就在下面的配置文件中,这个我项目的样列,可以给大家个参考,如果直接复制很可能是不能直接使用的,不过可以看到两条指令的具体使用方式,用事当作参考:

<VirtualHost *:9203>
    DocumentRoot "D:/phpstudy_pro/WWW/ebisustore"
    ServerName ebisustore.yu
    ServerAlias 
    FcgidInitialEnv PHPRC "D:/phpstudy_pro/Extensions/php/php7.0.9nts"
    AddHandler fcgid-script .php
    IPCConnectTimeout 3000
    IPCCommTimeout 3000
    FcgidWrapper "D:/phpstudy_pro/Extensions/php/php7.0.9nts/php-cgi.exe" .php
  <Directory "D:/phpstudy_pro/WWW/ebisustore">
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
	  DirectoryIndex index.php index.html error/index.html
  </Directory>
  ErrorDocument 400 /error/400.html
  ErrorDocument 403 /error/403.html
  ErrorDocument 404 /error/404.html
  ErrorDocument 500 /error/500.html
  ErrorDocument 501 /error/501.html
  ErrorDocument 502 /error/502.html
  ErrorDocument 503 /error/503.html
  ErrorDocument 504 /error/504.html
  ErrorDocument 505 /error/505.html
  ErrorDocument 506 /error/506.html
  ErrorDocument 507 /error/507.html
  ErrorDocument 510 /error/510.html
</VirtualHost>

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qq_34701838

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值