-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
php artisan config:cache error #41613
Comments
Hi there, Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels: However, this issue will not be locked and everyone is still free to discuss solutions to your problem! Thanks. |
I don't think this is an issue with Laravel or we should be seeing way more reports for this. Please try a support channel. Thanks |
It is but with a specific configuration With Then is_file is cached the first time, but then the second time it's called the require fails because it doesn't actually exist, though a fix is really easy with a try {} catch around the require |
Feel free to attempt that fix if you want 👍 |
If you want to use OpCache on CLI mode, the deployment flow (where you run Tool such as https://gordalina.github.io/cachetool/ should be useful. |
@crynobone But in this case the problem is both Basically running the command loads the config on bootsrap, so And in fact If I ran |
Not sure what I am supposed to take from this article? I'm talking about https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.enable-file-override And I have |
Description:
Steps To Reproduce:
Just run
php artisan config:cache
a bunch of times, around 1 out of 2 times (if it was already cached) the following error appearsThis seems to be a problem with
opcache.enable_file_override
which caches the result of is_fileThe text was updated successfully, but these errors were encountered: