Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I check if server caching is on, and is it okay to clear the cache (how do I do that?)?

I have completely replaced all files in my phpMyAdmin directory so I'm not sure what else it could be. Do I need to restart anything?

Not knowledgeable about this thing, so please aim your responses at a beginner, thanks.

share|improve this question
    
start by clearing the cache on your browser. Then please add information about your web server. –  user Dec 9 '11 at 13:16
    
Definitely not browser cache, already did that. Web server is Apache/2.2.3 (Red Hat) –  BadHorsie Dec 9 '11 at 15:09
    
Maybe, your apache config points to a different location. Multiple phpmyadmin instances? What will happen if you move the index page to some other folder? Did you make sure you are hitting the web server by inspecting the server access log? –  Khaled Dec 10 '11 at 18:38

1 Answer 1

If you have APC installed and enabled and apc.stat set to 0, you will need to restart Apache before any changes to PHP files will take effect.

You can check what these two variables are set to using this command:

grep -E "apc.(enabled|stat)" /etc/php.ini

The path to your php.ini will likely be different.

share|improve this answer
    
I have done a graceful restart on Apache but it had no effect. –  BadHorsie Dec 9 '11 at 15:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.