zhouer 发表于 2015-11-17 08:38:09

wamp Could not execute menu item和 HTTP Error 404. The requested resource is not

  **

wamp运行调试常常出现的问题:

Could not execute menu item

Wamp启动故障解决:Could not execute menu item

wamp
  php 环境配置Could not execute menu item (internal error) Could not perform service action 服务尚未启动
  80端口被占用了,你可以这样“Apache/httpd.conf 找到“Listen 80” 将80改成8080(或者其他端口都可以),服务器正常启动 ”或者出现404错误

http://localhost/hello.php

HTTP Error 404. The requested resource is not found.


解决办法:








写一写PHP代码测试一下:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>
<?php
echo "php打印的文字,标题";
?>
</title>
</head>
<body>
<?php
echo "你好,php<br>";
?>
这是普通的网页文字!
<script language="php">
echo "php打印的文字之二";
</script>
</body>
</html>
运行结果应该是:


  **


**
大家转载的时候请注明:
http://blog.iyunv.com/u011488009
**
版权声明:本文为博主原创文章,未经博主允许不得转载。
页: [1]
查看完整版本: wamp Could not execute menu item和 HTTP Error 404. The requested resource is not