I believe its your OPCache. Did you install the opcache package? If so I believe you can do
php artisan opcache:clear
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
My view states won't reload on after:
php artisan down
git pull xxxx
composer install
// other server config scripts for secuirty
php artisan up
This has happened twice now. Once on dev, another time on test. Completely re-installing from source does nothing as well. I'm moving into production in 2 weeks, and I'm concerned about running updates in the future and not having the changes promulgate prior to the end of the maintenance window.
So I've tried it all:
php artisan view:clear
php artisan cache:clear
php artisan clear-compiled
php artisan config:clear
I've updated opcache to these settings as in this trouble ticket https://github.com/laradock/laradock/issues/355
extension=opcache.so
opcache.enable="1"
opcache.memory_consumption="256"
opcache.use_cwd="0"
opcache.fast_shutdown="1"
opcache.max_file_size="0"
opcache.validate_timestamps="1" // Modify 0 to 1
opcache.revalidate_freq="0" // Add this line
Subsequently I've done systemctl restart httpd and rebooted the server...
Changes are not reflecting.
And check this part out. I've even rebuilt the project by doing rm -rf against the project directory, reloading from git, composer install and still nada. Absolutamente nada.
I'm running CentOS and Apache. And I just don't know where else to look. Any ideas?
I believe its your OPCache. Did you install the opcache package? If so I believe you can do
php artisan opcache:clear
Please or to participate in this conversation.