发布时间:2016-11-25 10:37:12 浏览次数:0
通过 php -S localhost:8000 能够快速转移或者设置新的php站点目录
mkdir php_dir_test
php -S localhost:8000
touch index.php
echo '<?php phpinfo(); ?>' > index.php
那么在浏览器中访问 localhost:8000 ,那么就能够得到phpinfo的信息,证明php在此段扣下,能够正常运行……