dsfsd43523 2016-10-28 19:19
浏览 52
已采纳

php中的memcached实现上升错误

I am new in php Memcached. I am trying to implement memcached for my application handling thousand of request. But while initialize Memcached class on scripts as follow:

<?php 
error_reporting(E_ALL & ~E_NOTICE); 
$mc = new Memcached();

Then I am getting following error:

Fatal error: Class 'Memcached' not found in C:\xampp\htdocs\mamecache.php on line 4

I am new on this technologies, why I am getting this please let know?

  • 写回答

2条回答 默认 最新

  • dqkelut8423 2016-10-28 19:38
    关注

    Probably you haven't installed memcached on your pc that's why you are getting error.

    Please check following post:

    HOW TO: Install Memcache on XAMPP (Windows 7/8/10)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?