ext.email ext.email - 1 year ago 134
PHP Question

Memcached implementation in php rise error

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:

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?

Answer Source

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)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download