InMotion Hosting Support Center

memcache and OPS

Category: Cpanel

2013-08-30 10:05 am EST

Hits: 323
I recently had memcache and APOPS (is that right)? added to my server. I have an issue that technical help has asked me if I can clear these Caches? I apologize if I have not got this quite right. Can you help?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

sorry, I could not get into my account. I should probably post it there since I will need help. I do not have root access. I was talking about APC or OPCacheCode. (close huh). ;-) Thanks for you help
20 Points
2013-08-30 10:45 am EST
Hi Soazkaren! I updated my answer below to include info on clearing your APC cache. Seems like you need to create a php file and just run this function:
5,399 Points
2013-08-30 11:32 am EST



5,399 Points
2013-08-30 10:36 am EST
Hi Soazkaren,

I'm not really sure what cache our team was talking about, but I'll see if I can help.

If I had more information about the problem that you're having, I could help a bit more in advising what cache it is you need to clear. Without this info though, I'll have to give some general guides below:

Clearing memcache cache

The following article should help in clearing your cached content in memcache:
HowTo: Flush Contents Of a Memcached Server Using Command Line
There are a few options you can try, one of them being logging into shell (as root) and running:
echo 'flush_all' | nc localhost 11211

Clearing APC Cache

Both the official php documentation and a popular answer on stackoverflow state that you need to run the following php function to clear your APC cache:

If you're not familiar with how to do this, our Managed Hosting Team may be able to help.

Browser Cache

If you're referring to simply clearing browser cache, this article should help.

- Brad

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!