|
用的代码为<?php
$link = mysql_connect("localhost", "root", "")
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);
?>
出现这样的错误:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/usr/local/apache/htdocs/test2.php' (include_path='.:/usr/local/php/lib/php') in Unknown on line 0
请各位高手指点一下,如何解决,谢谢! |
|