-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not clearing cache after upgrading to php 8.1.13 + cachetool 9.1 #235
Comments
Run these commands with a warm cache and show me the output. Locally I can see that
|
Output for
Also, it seems like that |
@Herz3h it does seem that it cleaned the cache, see the cached keys is the same as cached scripts, and the hit counter was reset. There seem to be some cached scripts which you can check which ones by running |
I have a php file where I add (let's call it test.php):
After which I run |
You need to have the FPM call the file |
I'm loading the page through the browser, and even after it is being cached, it doesn't take into account the code I changed, how should I further debug this ? I have tried upgrading to php 8.1.24, same thing |
@gordalina Removing these two lines fixes the problem, not sure why:
Content of preload.php: https://github.com/symfony/recipes/blob/main/symfony/framework-bundle/5.4/config/preload.php Edit: Problem solved, I had to put the preload.php file inside my project not in a random spot on the filesystem..... (i used /var/www/html/preload.php before, now I used /var/www/symfony/preload.php Thank you for the assistance. |
It used to work fine with php 7.4, now it doesn't anymore, i change a php file and run
cachetool opcache:reset -vvv
and here is the output:opcache.ini:
I have tried different cachetool versions, same, it doesn't clear the cache. Only calling:
killall -USR2 php-fpm
works. Any idea what could be the issue? where to start looking ?The text was updated successfully, but these errors were encountered: