• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Customize [global] section of php-fpm.conf in PHP-FPM Dedicated Mode

enerspace

Basic Pleskian
Username:

TITLE

Customize [global] section of php-fpm.conf in PHP-FPM Dedicated Mode

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

AlmaLinux 8.5 (Arctic Sphynx)
Plesk Obsidian
Version 18.0.42 Update #1

PROBLEM DESCRIPTION

Currently the php-fpm.conf file is created automatically by Plesk in the mode: PHP-FPM Dedicated Mode. There is no possibility to adjust variables in the [GLOBAL] section.

To increase the stability of PHP-FPM, it is necessary to make adjustments in the [GLOBAL] section. We provide servers with several thousand visitors a day, which without the adjustments can lead to a crash.

With the old PHP handler, the adjustments were made under: /opt/plesk/php/8.0/etc/php-fpm.conf. This no longer works when PHP-FPM is selected as dedicated.

STEPS TO REPRODUCE

  • Create a website
  • Change the PHP version to a dedicated version. For example: Dedicated FPM application served by Apache
  • Now the following file is responsible for the PHP handler: /var/www/vhosts/system/domain/etc/php-fpm.conf. (But this is 100% generated by Plesk).

ACTUAL RESULT

In the file: /var/www/vhosts/system/domain/etc/php-fpm.conf, no individual customization can be made in the [GLOBAL] section.

EXPECTED RESULT

A possibility to customize the [GLOBAL] area.

ANY ADDITIONAL INFORMATION

More information: Question - Customize [global] section of /system/domain/etc/php-fpm.conf

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Plesk allows changing only settings specified under [php-fpm-pool-settings] section for both shared and dedicated php-fpm pools. Settings under [global] section are hardcoded and unmanaged.
With the old PHP handler, the adjustments were made under: /opt/plesk/php/8.0/etc/php-fpm.conf.
Plesk does not guarantee that this file will not be overwritten during some update and custom settings will not be lost.

Management of settings under _[global] _ section is new functionality. A new feature request should be created Feature Suggestions: Top (1995 ideas) – Your Ideas for Plesk

If something goes wrong with php-fpm application pool due to default global settings you can create a ticket to Plesk Technical Support. Maybe some default settings should be adjusted on the Plesk side.
 
@IgorG I understand your approach and yes, the file is not regularly customizable by Plesk in [GLOBAL]. But it is customizable at that point. On the other side, the files under /var/www/vhosts/system/domain/etc/php-fpm.conf are not customizable at all, because these files are modified throughout. Theoretically we can build a workaround, but I think this was integrated very unfortunate by Plesk and should be reworked.
 
Back
Top