2013-02-08 28 views
0

,我发现了以下错误的NetBeans IDE,在OSX:NetBeans IDE中的Mac OSX本地主机不工作

Firefox can't establish a connection to the server at localhost:8888 

的网址是:

http://localhost:8888/PhpProject_130208/index.php 

而且代码:

<!DOCTYPE html> 
<html> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    <title>Hope this works</title> 
</head> 
<body> 
    <?php 
    // put your code here 
     echo "My first PHP script!"; 
    ?> 
</body> 
</html> 

当我运行MAMP它说MAMP已安装并正在工作>

不用说我是一个完整的n00b,我甚至不知道如何提出这个问题。我试图在我的Mac上学习PHP,并已经得到了这一点。

我在做什么错,我在哪里可以学习如何正确设置它?

回答