Laravel 5.8 / PHP / Opcache problem..
Hello everyone,
i have a problem with Laravel and Opcache..
Software informations:
- PHP VERSION : 7.2.14
- APACHE VERSION : 2.4
- SERVER SOFT : Laragon
- OS : Windows 10 pro
Laravel informations:
- Laravel Version : 5.8
the problem:
For increasing the Laravel performance I've decided to activate the opache in the php.ini But after restarting my Apache server..
I have a 500 error on trying to the all laravel routes...
the 500 error is not like the others, it obviously comes from the symfony layers...
The error : https://ibb.co/FVsv4tn
the .ini Opcache configuration:
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=32531
;opcache.max_wasted_percentage=5
;opcache.use_cwd=1
opcache.validate_timestamps=0
;opcache.revalidate_freq=2
;opcache.revalidate_path=0
opcache.save_comments=1
;opcache.enable_file_override=0
;opcache.optimization_level=0xffffffff
;opcache.inherited_hack=1
opcache.dups_fix=1
;opcache.blacklist_filename=
;opcache.max_file_size=0
;opcache.consistency_checks=0
;opcache.force_restart_timeout=180
;opcache.error_log=
;opcache.log_verbosity_level=1
;opcache.preferred_memory_model=
;opcache.protect_memory=0
;opcache.restrict_api=
;opcache.mmap_base=
;opcache.file_cache=
;opcache.file_cache_only=0
;opcache.file_cache_consistency_checks=1
;opcache.file_cache_fallback=1
;opcache.huge_code_pages=0
;opcache.validate_permission=0
;opcache.validate_root=0
;opcache.opt_debug_level=0
All of the following actions have already been taken :
-
php artisan cache:clear
-
php artisan view:clear
-
php artisan config:cache
-
php artisan optimize
-
Rebooting the Apache
-
Rebooting the Computer
Thanks for your help !
Please or to participate in this conversation.