运行结果提示错误
<?php
ini_set('track_errors', 1);
$conn = @mysql_connect("localhost","username","password");
echo "出错了,错误原因是:".$php_errormsg;
?>
运行结果提示:错误原因是:mysql_connect(): No such file or directory
这是什么原因?
<?php
ini_set('track_errors', 1);
$conn = @mysql_connect("localhost","username","password");
echo "出错了,错误原因是:".$php_errormsg;
?>
运行结果提示:错误原因是:mysql_connect(): No such file or directory
这是什么原因?
2018-01-10
举报