Voilà ce qui concerne opcache :
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Enabled
Startup OK
Shared memory model mmap
Cache hits 422835
Cache misses 54
Used memory 25474408
Free memory 108743320
Wasted memory 0
Interned Strings Used memory 3419912
Interned Strings Free memory 2871120
Cached scripts 1162
Cached keys 1979
Max keys 1979
OOM restarts 0
Hash keys restarts 0
Manual restarts 0
Directive Local Value Master Value
opcache.blacklist_filename /etc/php.d/opcache*.blacklist /etc/php.d/opcache*.blacklist
opcache.consistency_checks 0 0
opcache.dups_fix Off Off
opcache.enable On On
opcache.enable_cli Off Off
opcache.enable_file_override Off Off
opcache.error_log no value no value
opcache.file_cache /var/lib/php/opcache /var/lib/php/opcache
opcache.file_cache_consistency_checks 1 1
opcache.file_cache_only 0 0
opcache.file_update_protection 2 2
opcache.force_restart_timeout 180 180
opcache.huge_code_pages Off Off
opcache.interned_strings_buffer 8 8
opcache.lockfile_path /tmp /tmp
opcache.log_verbosity_level 1 1
opcache.max_accelerated_files 1000 1000
opcache.max_file_size 0 0
opcache.max_wasted_percentage 5 5
opcache.memory_consumption 128 128
opcache.opt_debug_level 0 0
opcache.optimization_level 0x7FFEBFFF 0x7FFEBFFF
opcache.preferred_memory_model no value no value
opcache.protect_memory 0 0
opcache.restrict_api no value no value
opcache.revalidate_freq 1 1
opcache.revalidate_path Off Off
opcache.save_comments 1 1
opcache.use_cwd On On
opcache.validate_permission Off Off
opcache.validate_root Off Off
opcache.validate_timestamps On On
Mais bon pour savoir si php-fpm l'utilise...
Je n'arrivais plus à avoir quelque chose qui s'affiche à cause du réglage suivant (du moins avec juste 256M de base il me semble) :
php_admin_value[memory_limit] = 2048M
malgrès le fait qu'il soit modifié comme j'en avais l'habitude directement dans le php.ini.
Je ne sais pas ce qui à provoqué cela soit dit en passant.
Et le retour du status de php-fpm après avoir ajouté les options :
[root@hermes1 ~]# vi /etc/php-fpm.d/www.conf
[root@hermes1 ~]# systemctl restart php-fpm.service
Job for php-fpm.service failed because the control process exited with error code.
See "systemctl status php-fpm.service" and "journalctl -xe" for details.
[root@hermes1 ~]#
[root@hermes1 ~]# systemctl restart php-fpm.service -l
Job for php-fpm.service failed because the control process exited with error code.
See "systemctl status php-fpm.service" and "journalctl -xe" for details.
[root@hermes1 ~]# systemctl status php-fpm.service -l
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-12-03 21:59:45 CET; 5s ago
Process: 337338 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 337338 (code=exited, status=78)
CPU: 77ms
déc. 03 21:59:45 hermes1.localdomain systemd[1]: Starting The PHP FastCGI Process Manager...
déc. 03 21:59:45 hermes1.localdomain php-fpm[337338]: [03-Dec-2019 21:59:45] ERROR: [/etc/php-fpm.d/www.conf:446] unknown entry 'opcache.enable'
déc. 03 21:59:45 hermes1.localdomain php-fpm[337338]: [03-Dec-2019 21:59:45] ERROR: Unable to include /etc/php-fpm.d/www.conf from /etc/php-fpm.conf at line 446
déc. 03 21:59:45 hermes1.localdomain php-fpm[337338]: [03-Dec-2019 21:59:45] ERROR: failed to load configuration file '/etc/php-fpm.conf'
déc. 03 21:59:45 hermes1.localdomain php-fpm[337338]: [03-Dec-2019 21:59:45] ERROR: FPM initialization failed
déc. 03 21:59:45 hermes1.localdomain systemd[1]: php-fpm.service: Main process exited, code=exited, status=78/CONFIG
déc. 03 21:59:45 hermes1.localdomain systemd[1]: php-fpm.service: Failed with result 'exit-code'.
déc. 03 21:59:45 hermes1.localdomain systemd[1]: Failed to start The PHP FastCGI Process Manager.
Samedi pas de problème, Dimanche page blanche et plus de prise en charge de opcache par nextcloud...