回复讨论(解决方案)
你是指Xdebug吗?
不是,是PHP自带的简单HTTP功能
哦,你是指PHP内含的HTTPServer,这个没用过。这应该说是预览用的,应该不叫调试。。。。
哦,你是指PHP内含的HTTPServer,这个没用过。这应该说是预览用的,应该不叫调试。。。。
就是指这个HTTPServer
cd $PHP_INSTALL_PATH
./bin/php -S :
如:
前台运行:
./bin/php -S localhost:80 -t /data/www/
后台运行:
./bin/php -S localhost:80 -t /data/www/ >> /tmp/access.log 2>&1 &
cd $PHP_INSTALL_PATH
./bin/php -S :
如:
前台运行:
./bin/php -S localhost:80 -t /data/www/
后台运行:
./bin/php -S localhost:80 -t /data/www/ >> /tmp/access.log 2>&1 &
不错,就是这个,非常感谢!