Daniel Richards
New Pleskian
TITLE:
Wordpress Toolkit incompatible with CLoudlinux CageFS
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Cloudlinux 7.4 & 7.5, Plesk Onyx 17.5 & Plesk Onyx 17.8 PHP 7.0, PHP 7.1, PHP 7.2
PROBLEM DESCRIPTION:When using Cloudlinux alt-php LSAPI the Wordpress Toolkit stops working. The wordpress installations of domains using alt-php become detached from the wordpress toolkit.
I have reported it to Cloudlinux, they're reply is below - they believe it to be a design issue of the plesk wordpress toolkit causing these problems.
Here's the workaround suggested by cloudlinux until this is fixed:
I also need to copy
into the addition configuration directive section of the PHP Settings for each domain.
I have reported it to Cloudlinux, they're reply is below - they believe it to be a design issue of the plesk wordpress toolkit causing these problems.
Here's the workaround suggested by cloudlinux until this is fixed:
Code:
find /opt/alt/php72/etc/php.d.all -name '*.ini' -group linksafe -exec cat {} \; >> /opt/alt/php72/link/conf/default.ini
I also need to copy
Code:
mysqli.default_socket = /var/lib/mysql/mysql.sock
STEPS TO REPRODUCE:To fix the issue with wp-tookit plugin I compared PHP 7.2 extensions for native and alt versions and enabled all missing extensions for alt version via LVE Manager interface. That didn't help because Plesk is running plugin outside of CageFS and therefore alt-php does not load selected extensions. To enable extensions to work outside of CageFS I did the following:
find /opt/alt/php72/etc/php.d.all -name '*.ini' -group linksafe -exec cat {} \; >> /opt/alt/php72/link/conf/default.ini
Now /opt/alt/php72/link/conf/default.ini contains all required extensions and wp-toolkit works fine.
So, the issue was not related to mod_lsapi, it was related to missing extensions when alt-php was running outside of CageFS. This looks like a design issue of wp-toolkit because:
1. Why does Plesk try to run its plugin (wp-toolkit) using PHP version chosen for the website instead of using native PHP version?
2. Why does Plesk try to run it outside of CageFS?
It is better to address these questions to Plesk support
Change PHP from FastCGI by Apache or PHP-FPM to Alt-PHP LSAPI (part of CLoudlinux OS) on a domain
open Wordpress Toolkit for that domain nd click refresh. Plesk Onyx 17.5 then reports a 'Syntax Error' 17.8 reports no error, but in both cases the wordpress installations on that domain become detached, and wordpress toolkit cannot manage wordpress
ACTUAL RESULT:open Wordpress Toolkit for that domain nd click refresh. Plesk Onyx 17.5 then reports a 'Syntax Error' 17.8 reports no error, but in both cases the wordpress installations on that domain become detached, and wordpress toolkit cannot manage wordpress
Plesk Onyx 17.5 reports a 'Syntax Error' 17.8 reports no error, but in both cases the wordpress installations on that domain become detached, and wordpress toolkit cannot manage wordpress
EXPECTED RESULT:The wordpress installation should be able to be managed propertly by wordpress toolkit
ANY ADDITIONAL INFORMATION:temporary workaround details included above.
It would be really helpful if the Plesk Team could confirm that this workaround is safe
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:It would be really helpful if the Plesk Team could confirm that this workaround is safe
Confirm bug
Last edited: