Skip to content
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

opcache:clear not working #137

Open
jiteshtandel opened this issue Jan 18, 2022 · 0 comments
Open

opcache:clear not working #137

jiteshtandel opened this issue Jan 18, 2022 · 0 comments

Comments

@jiteshtandel
Copy link

This package was working fine when I installed initially but now I am facing very strange issue just to clear opcache using the following command.
php artisan opcache:clear

My concern is my Laravel application executes previous version code even after clearing the opacache several times. I believe It must have to execute latest source code. I tried after php-fpm reload. I also restarted my Apache Fast CGI server. I even tried after executing the following Artisan commands but it still executes previous version code for me.

php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan clear-compiled
php artisan optimize

Here are my application environments if anybody can help me to figure out the issue.

PHP Version: 7.4.21
Laravel Version: 8.42.1
laravel-opcache package version: 4.0.2

Opcache Status:

opcache-status-screenshot

Opcache Configuration:

opcache-config-screenshot

I am not sure what I am missing. Please help me to fix it. Any kind of help will be appreciate.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant