Home >Backend Development >PHP Tutorial >PHP的memcached getversion报Notice解决方法
PHP的memcached getversion报Notice
Notice: Memcache::getversion() [memcache.getversion]: Server 127.0.0.1:8080 (tcp 11211) failed with: Failed reading line from stream (0) in D:\phpProject\PCSYs\test.php on line 6
<br /><br />$memcache = new Memcache;<br />$memcache->connect('127.0.0.1:8080', 11211) or die ("Could not connect");<br /><br />$version = $memcache->getVersion();<br />