Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error: Class 'Memcache' not found in

Tags:

php

memcached

For this line

$MEM = new Memcache;

I get this error "Fatal error: Class 'Memcache' not found in...". I put this in my php.ini and still no success.

extension=memcache.so

Does that mean my webhost doesn't have memcached? Do i have to download memcached and uploaded anything to the server for it to work?

like image 327
user892134 Avatar asked Aug 27 '11 23:08

user892134


1 Answers

Here's the reply from JustHost

John H.: [6:28:55 PM] Welcome to our real-time support chat. My name is John H. Please be patient, as I may be assisting multiple customers. Also, please provide your main domain name, and a brief description of the problem or request. Thank you.
ME: [6:28:55 PM] is memcache enable for share host?
[6:30:01 PM] hi
John H.: [6:30:31 PM] Let me see what I can find out for you. Just one moment please.
ME: [6:30:37 PM] thanks
John H.: [6:41:04 PM] I have asked an L2, and am waiting for a response. sorry for the delay.
ME: [6:41:39 PM] no problem
John H.: [6:41:49 PM] no, it's not enabled.
[6:41:52 PM] we don't support it
ME: [6:42:11 PM] ok thank you

I would recommend to use the chat feature next time you or will order a new shared host and ask the representative if they have memcached enable.

like image 132
Book Of Zeus Avatar answered Nov 13 '22 12:11

Book Of Zeus