InMotion Hosting Support Center

memcache and OPS

Category: Cpanel

2013-08-30 10:05 am EST

Hits: 477
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:

<h2>Clearing memcache cache</h2>
The following article should help in clearing your cached content in memcache:
<a href='' target='_blank'>HowTo: Flush Contents Of a Memcached Server Using Command Line</a>
There are a few options you can try, one of them being <a href='/support/website/ssh/how-to-login-ssh' target='_blank'>logging into shell</a> (as <a href='/support/website/ssh/root-access-faq' target='_blank'>root</a>) and running:
echo 'flush_all' | nc localhost 11211

<h2>Clearing APC Cache</h2>
Both the <a href='' target='_blank'>official php documentation</a> and <a href='' target='_blank'>a popular answer on stackoverflow</a> 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 <a href='/managed-hosting' target='_blank'>Managed Hosting Team</a> may be able to help.

<h2>Browser Cache</h2>
If you're referring to simply clearing browser cache, <a href='/support/website/how-to/clear-browser-cache' target='_blank'>this article should help</a>.

- 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!