I have a pretty standard PHP file that I use with MAMP to replicate apache on my local machine.
But for some reason when I make a change to the php file, the changes are not reflected even when I hard refresh in Chrome (multiple times.)
Even simple changes to the HTML are not reflected.
I changed the Document Root, restarted Apache and made sure PHP wasn't running any cache extensions in MAMP.
I just ran into this. I found the answer in another thread -- it's the OPcode caching, which you can disable by commenting out some lines in php.ini.
See: https://stackoverflow.com/a/19268769
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With