简体   繁体   中英

Fatal error: Class 'Memcache' not found in

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM