<html>
<body>
<div>333</div>
<?php
 echo "Hello World";
 ?>
</body>
</html>
MySQL 数据库 已激活   
 
 PHP 已激活   
 
 HTTPS (SSL) 已激活   
 
 通用网关接口 (CGI) 已激活   
 
 Server Side Includes (SSI) 已激活   
 
 SMTP 服务 已激活   
 
 FTP 服务 已激活   
 
 Tomcat 服务 未激活   
安装的是XAMPP。
在浏览器输入http://127.0.0.1/xampp/Hello.php。
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.  If you think this is a server error, please contact the webmaster.  Error 404
127.0.0.1
2011-6-5 20:38:57
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1  在dreamweaver里预览却是一片空白。

解决方案 »

  1.   

    可能是以下三个问题之一:
    ①xampp这个是你的根目录吗;
    ②你的“http://127.0.0.1/xampp/Hello.php。
    ”你确定没有输入了“。”吗;
    ③你的localhost能够访问吗。
      

  2.   

    大哥 ;dreamweaver 不会解释执行php文件的;你得配置才行;如果想预览 ;则只能在服务器上 才能;
      

  3.   

    http://127.0.0.1/xampp/Hello.php?
    你这个文件放在哪个目录的?