I have apc.stat = 0, so every time I make a change I need to delete the APC cache.
Let’s say today I know I am making some changes, is there a way to temporarly (24 hours for example) say to php (maybe with SSH) to set apc.stat = 1, without changing php.ini?
You could create a cron job that runs as root. It would have to copy a php.ini version with
apc.stat = 0over into the PHP directory, and restart the web server.