0

I recently enabled Zend opcache on my server. but there is a problem here. when i edit a file and save that , the edited file not showing recent changes and shows previous data. for example my file before edit is :

<?php
echo 'no Edit';
?>

then i edit this file:

<?php
die('Edited');
echo 'no Edit';
?>

if opcache enabled, When i run , I get no Edit as output. (even if i clear all file data)

if opcache disbled, there's no problem.

2
  • And we should help you with what? Commented Jun 17, 2016 at 19:11
  • Is it nature of opcache ? Commented Jun 17, 2016 at 19:12

1 Answer 1

1

I got it.because in opcache_get_configuration() :

[opcache.revalidate_freq] => 60

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.