Posts: 911
Threads: 40
Joined: Oct 2014
Reputation:
70
If you are running a newer version of PHP and have the opcode cache turned on, it seems to keep the opcodes cached for about a minute. Turn off opcode caching in your local environment and that should go back to normal.
Posts: 8
Threads: 3
Joined: Nov 2015
Reputation:
0
Hi Kilishan;
Thank you very-much for your response; my application is hosted in shared hosting; is there ability to turn off opcode cache?
Thanks
Posts: 911
Threads: 40
Joined: Oct 2014
Reputation:
70
Depends on your provider, but probably not. I believe it typically requires some settings in the php.ini file, which is something shared hosting typically doesn't give access to modify for security reasons.
I would suggest developing on a local machine, though, and only uploading to shared hosting afterword, when you're sure things are how you want them. Much better in the long run.
Posts: 8
Threads: 3
Joined: Nov 2015
Reputation:
0
Thank you for your helpful suggestions;
Posts: 8
Threads: 3
Joined: Nov 2015
Reputation:
0
Thank you again Kilishan;
I thanks GOD I have got a solution; in my hosting there was a Varnish cache turned on; the solution was to turn it off for my respective domain containing my codeigniter web application.
enjoy;