xdebug断掉调试经常无故断开

需要在vhost.conf中加上两行

<VirtualHost *:80>
    DocumentRoot "D:/phpstudy_pro/WWW/login"
    ServerName www.1688.net
    ServerAlias
    FcgidInitialEnv PHPRC "D:/phpstudy_pro/Extensions/php/php-5.6.27-nts"
    AddHandler fcgid-script .php
    IPCConnectTimeout 3000
    IPCCommTimeout 3000

    FcgidWrapper "D:/phpstudy_pro/Extensions/php/php-5.6.27-nts/php-cgi.exe" .php
    <Directory "D:/phpstudy_pro/WWW/login">
    Options FollowSymLinks ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
    DirectoryIndex index.php index.html
    </Directory>
</VirtualHost>

发布了10 篇原创文章 · 获赞 5 · 访问量 7364

猜你喜欢

转载自blog.csdn.net/qq_41566366/article/details/100898604