How to maintain cache

Dear Sir,

I have setup an OJS application on the Linux Redhat server, but due to cache issue application can’t run properly how to resolve cache problem in this situation, please help.

I am using

OJS: 2.4.6
PHP: 5.4
MySql: 5.7
Server: Linux Redhat 7.4

Hi @Avinash_Shukla,

What is the cache problem you’re encountering?

Note that your PHP version is no longer supported and should be considered unsafe; I’d also suggest upgrading your OJS to a newer version at some point.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi asmecher,

Actually, In my OJS application, the webpage is coming directly from the cache folder’s file and it’s not handling server-side code. What should I do to resolve this problem?

Sure, I will upgrade PHP version with (5.6).

Hi Alec Smecher,

Server side code is not running properly due to cache. If page is not available in cache folder then it is showing as a blank page how ever code is working properly in the localhost server. How can I resolve this problem? please help.

PHP Version 5.6.36
Linux, Redhat 7.4

Thank you

Hi @Avinash_Shukla,

Did you turn on the web_cache option in config.inc.php? If so, I’d suggest turning it off.

When you see a blank page, check your PHP error log; it probably contains more details.

Regards,
Alec Smecher
Public Knowledge Project Team