欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

netbeans中调试php程序,执行到实例化smarty时程序提示“套接字异常错误”

程序员文章站 2022-05-24 16:42:32
...
netbeansphp套接字错误smarty

require './Smarty/libs/Smarty.class.php';

$smarty = new Smarty();

$smarty->template_dir="./templates";
$smarty->compile_dir="./compile";

在netbeans中调试php程序,调试运行到new Smarty();时,netbeans弹出套接字异常错误。
非调试运行时,程序运行正常。