• 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.

Resolved Disabling an extension from one custom PHP handler will disable the same extension on all others, too

KonstantinosP

New Pleskian
TITLE

Issue in settings for custom PHP handlers

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 22.04.2 LTS (VPS/KVM), Linux 5.15.0-76-generic, x86-64

PROBLEM DESCRIPTION

On my servers i usually install multiple custom PHP versions from ppa ondrej/php repository and i register them in Plesk like this:
Bash:
/usr/local/psa/bin/php_handler --add -id custom-php82-fpm -displayname 8.2-custom -path /usr/sbin/php-fpm8.2 -clipath /usr/bin/php8.2 -phpini /etc/php/8.2/fpm/php.ini -type fpm -service php8.2-fpm -poold /etc/php/8.2/fpm/pool.d

Then i disable some extensions i don't need in production (eg: xdebug) from the "Settings for X.X-custom FPM application" screen. When i turn off one switch, the xdebug for example, it will turn off xdebug for all the custom PHP handlers.

STEPS TO REPRODUCE

Install a couple of custom PHP versions:

Bash:
apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt update

Bash:
apt install php8.1-fpm php8.1-cli php8.1-bcmath php8.1-bz2 php8.1-curl php8.1-dba php8.1-enchant php8.1-gd php8.1-igbinary php8.1-imagick php8.1-imap php8.1-intl php8.1-ldap php8.1-mbstring php8.1-mcrypt php8.1-mysql php8.1-odbc php8.1-opcache php8.1-pgsql php8.1-pspell php8.1-readline php8.1-redis php8.1-snmp php8.1-soap php8.1-sqlite3 php8.1-tidy php8.1-xdebug php8.1-xml php8.1-xmlrpc php8.1-zip

/usr/local/psa/bin/php_handler --add -id custom-php81-fpm -displayname 8.1-custom -path /usr/sbin/php-fpm8.1 -clipath /usr/bin/php8.1 -phpini /etc/php/8.1/fpm/php.ini -type fpm -service php8.1-fpm -poold /etc/php/8.1/fpm/pool.d

Bash:
apt install php8.2-fpm php8.2-cli php8.2-bcmath php8.2-bz2 php8.2-curl php8.2-dba php8.2-enchant php8.2-gd php8.2-igbinary php8.2-imagick php8.2-imap php8.2-intl php8.2-ldap php8.2-mbstring php8.2-mcrypt php8.2-mysql php8.2-odbc php8.2-opcache php8.2-pgsql php8.2-pspell php8.2-readline php8.2-redis php8.2-snmp php8.2-soap php8.2-sqlite3 php8.2-tidy php8.2-xdebug php8.2-xml php8.2-xmlrpc php8.2-zip

/usr/local/psa/bin/php_handler --add -id custom-php82-fpm -displayname 8.2-custom -path /usr/sbin/php-fpm8.2 -clipath /usr/bin/php8.2 -phpini /etc/php/8.2/fpm/php.ini -type fpm -service php8.2-fpm -poold /etc/php/8.2/fpm/pool.d

Then try to disable one extension for PHP "8.1-custom".

ACTUAL RESULT

The extension you disabled for PHP "8.1-custom" will be also disabled for PHP "8.2-custom" or any other custom PHP handlers you have.

EXPECTED RESULT

The extension should be disabled only for the one PHP handler. PHP "8.1-custom" for our example.

ANY ADDITIONAL INFORMATION

I believe the issue appeared when the checkboxes in the settings page were replaced by switches (maybe 6 months ago), but now i decided to open a report it because it became frustrating.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top