<html>
<head>
<title>.....</title>
</head>
<body>
<h1>testing page</h1>
<?php
echo"php testing page...";
$username = "Seann liu";
echo"hello, $username";
?>
</body>
</html>
<head>
<title>.....</title>
</head>
<body>
<h1>testing page</h1>
<?php
echo"php testing page...";
$username = "Seann liu";
echo"hello, $username";
?>
</body>
</html>
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
我们现在用的就是
所以你检查有没有什么语法错
要是没有你再看看是不是设置等问题不对