• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Warning OpCache: Unable to set php_value opcache.fast_shutdown

mitches

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.50_build1800230213.19 os_Ubuntu 18.04
Hello Forum,
I have made an additional statement in website/domain | PHP settings (8.0.28) (opcache is enabled an works)

opcache.memory_consumption=128
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=15000
opcache.revalidate_freq=10
opcache.save_comments=1
opcache.max_wasted_percentage=15
opcache.enable_cli=1
opcache.validate_root=1
opcache.fast_shutdown=1

But I get the following warning in the error log. Does anyone know why this is?

[13-Mar-2023 08:50:45] WARNING: [pool domain] child 24037 said into stderr: "ERROR: Unable to set php_value 'opcache.fast_shutdown'"


Greetings
Micha
 
You are using PHP 8. Since PHP version 7.2 the "opcache.fast_shudown" option has been removed from PHP and instead this setting is always on in newer versions. You do not need to explicitely set it.
 
Back
Top