-1

我试图在我的主机上使用 memcache,但是当我在我的 php 代码中包含 memcache 时,一个带有 memcache 统计信息的页面会出现在我的 html 中并弄乱我的页面。

我只是插入

include('memcache.php');
$memcache = new Memcache;
$memcache->connect('127.0.0.1', 11211) or die ("Could not connect to cache.your_server.com"); 

在我的代码和内存缓存统计页面上出现了。

任何想法如何禁用它的外观?

4

1 回答 1

2

memcache.php您包含的文件统计信息页面。它不打算包括在内。

于 2014-08-03T19:36:42.683 回答