If changing your php scripts does not lead to a change, this can be a problem of caching the operation code, unlike browser caching (browser caching should be easily overridden CTRL-F5or CTRL-R, depending on your OS), this happens when the server pre-compiles your php code to speed up responses.
That was the case with me, so I went in /etc/php5/cli/conf.d/and found a symbolic link to 05-opcache.iniand deleted that symbolic link and restarted the built-in server. The problem that the pages didn't change when I edited the php code was resolved from now on.
source
share