• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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