在命令行中输入以下内容:
php -f filename.php
确保filename.php既包含并执行您要测试的功能。您回显的所有内容都会显示在控制台中,包括错误。
请注意,Apache PHP的php.ini通常不同于CLI PHP(命令行界面)。
参考:https :
//secure.php.net/manual/en/features.commandline.usage.php
欢迎分享,转载请注明来源:内存溢出
在命令行中输入以下内容:
php -f filename.php
确保filename.php既包含并执行您要测试的功能。您回显的所有内容都会显示在控制台中,包括错误。
请注意,Apache PHP的php.ini通常不同于CLI PHP(命令行界面)。
参考:https :
//secure.php.net/manual/en/features.commandline.usage.php
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)