windows 2008 r2 apache2.2+php5.2+mysql5.6 发布的页面非中文的没有错误,有中文时会有图片中的错误
用wamp的时候没有问题,在自己服务器上没有用wamp软件,手动安装软件时有如下错误:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'D:/WebSit/Gov/测试.html' (include_path='D:\AMP\PHP5.2\pear') in Unknown on line 0
测试.html里就是Hello world。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<center>
<h1>欢迎光临</h1>
<br/>
Hello world.
<br/>
测试页面
</center>
</body>
</html>