運行命令行php
php -d display_startup_errors=1 -d error_reporting=-1 -d display_errors -c "C:\path-to-php\php.ini" -m命令行
固然也能夠直接運行php,若是有錯也會報出錯誤提示。error