Wilianto Indrawan
Wilianto Indrawan

Reputation: 2404

Apache Read Changed PHP File in Several Minutes

I use Apache as my web server and use PHP 5.5.30. But I've a problem when I change a PHP file, I need to wait for several minutes until Apache reload my new file. Is there any configuration I must set on my httpd.conf?

This is my httpd.conf file http://pastebin.com/D0JN7c56

Upvotes: 0

Views: 57

Answers (1)

Wilianto Indrawan
Wilianto Indrawan

Reputation: 2404

Problem solved.

This is happened because opcache configuration on php.ini. Just set revalidate frequency

opcache.revalidate_freq=0

or disabled opcache

opcache.enable=0

Upvotes: 1

Related Questions