都安装好后怎么一起配合使用?
service httpd start
service mysqld start
cd /var/www/html/
vim conn.php
<?php 2 $conn=mysql_connect("localhost","",""); 3 if($conn) 4 echo"connect success"; 5 else 6 echo"connect faild"; 7 mysql_close($conn); 8 ?>