• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue ERROR: Unable to set php_value 'request_slowlog_timeout

dengolius

New Pleskian
There were enable some directives in php configuration for debugging:

error_log /var/www/vhosts/mypool/logs/error_debug_php.log debug;
slowlog = /var/log/php/slow.log;
request_slowlog_timeout = 10s;
access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%";


[23-Feb-2018 09:24:20] WARNING: [pool mypool] child 25394 said into stderr: "ERROR: Unable to set php_value 'request_slowlog_timeout'"
[23-Feb-2018 09:24:20] WARNING: [pool mypool] child 25394 said into stderr: "ERROR: Unable to set php_value 'access.format'"
[23-Feb-2018 09:24:20] WARNING: [pool mypool] child 25394 said into stderr: "ERROR: Unable to set php_value 'slowlog'"

Why Plesk do not accept those configurations? Maybe I miss some options to enable debugging.
 
Last edited:
It seems that you habve placed the directives into the PHP variable section that affects the php.ini settings. But that won't work as we are talking about PHP FPM service directives here. Have you set these directives in the PHP-FPM configuration file?

You find the correct file here:
/opt/plesk/php/<php version>/etc/php-fpm.d/<domain>.conf
For example:
/opt/plesk/php/7.1/etc/php-fpm.d/mywebsite.com.conf

Restart the PHP-FPM service of the version afterwards:
# service plesk-php<version>-fpm restart
For example
# service plesk-php71-fpm restart
 
It seems that you habve placed the directives into the PHP variable section that affects the php.ini settings. But that won't work as we are talking about PHP FPM service directives here. Have you set these directives in the PHP-FPM configuration file?

You find the correct file here:
/opt/plesk/php/<php version>/etc/php-fpm.d/<domain>.conf
For example:
/opt/plesk/php/7.1/etc/php-fpm.d/mywebsite.com.conf

Restart the PHP-FPM service of the version afterwards:
# service plesk-php<version>-fpm restart
For example
# service plesk-php71-fpm restart

I set these directives in the web form that add configs from web plesk into domains.conf files
 
Back
Top