Disable caching php files for debugging

I have vps with zpanel installed and apache2 - php - mysql.

I am developing a small backend for a website in php as the sites ready to post the situation are ideal, but now I need to disable the server function that caches the php files to check the correct (last modified version) of my php files immediately. This is because while the html and js files are immediately reloaded when edited, the php I have a long wait before it gets updated or I have to restart the server.

I tried opening php.ini and looking for "cache" and setting "1" millisecond to almost all values ​​with no luck. what could i try?

PS this is not a browser cache issue, a server side issue.

+3


source to share


1 answer


Solved: Inside php.ini, I added a line with

apc.enabled=0

      



after that i restarted apache2 and now the php files are updated as they should

thanks for the suggestion look into phpinfo

+4


source







All Articles