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

**
wamp运行调试常常出现的问题:
Could not execute menu item
Wamp启动故障解决:Could not execute menu item
wamp

php 环境配置Could not execute menu item (internal error) [Exception] 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.

wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第1张图片
解决办法:wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第2张图片
wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第3张图片

wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第4张图片
wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第5张图片
wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第6张图片
写一写PHP代码测试一下:


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>

 echo "php打印的文字,标题";
?>
title>
head>

<body>

 echo "你好,php
"
; ?>
这是普通的网页文字! <script language="php"> echo "php打印的文字之二"; script>
body> html> 运行结果应该是:

wamp Could not execute menu item和 HTTP Error 404. The requested resource is not found._第7张图片

**

**
大家转载的时候请注明:
http://blog.csdn.net/u011488009
**

你可能感兴趣的:(php学习)