Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Installing cpAddon Wordpress Error MultiPHP Disabled

Discussion in 'General Discussion' started by Kurieuo, May 30, 2019.

  1. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Australia
    When installing Wordpress via the Wordpress Manager/Site Software in cPanel, an error is output as follows:

    Error: The system could not run the “/usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php” install script and received the error code “255”: Cpanel::Exception/(XID cjvbwa) Your hosting provider must enable the “MultiPHP Manager” feature to perform this action. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 96. Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x12ac1d0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 50 Cpanel::AdminBin::Call::call("Cpanel", "multilang", "UPDATE_VHOST_CPANEL", "ea-php72", "domain.com") called at /usr/local/cpanel/Cpanel/API/LangPHP.pm line 136 Cpanel::API::LangPHP::php_set_vhost_versions(Cpanel::Args=HASH(0x2358460), Cpanel::Result=HASH(0x2784968)) called at /usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php line 129 scripts::wordpress_use_best_php::run("scripts::wordpress_use_best_php", "--domain", "domain.com") called at /usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php line 27​

    Now I've been using CloudLinux's PHP Selector for some time. I disabled MultiPHP to save confusion for users, and chose to go with PHP Selector as I read that it was more seucre, and could even be imported into cPanel and replace MultiPHP altogether (perhaps just a rumour?).

    In any case, it seems the Wordpress installer expects MultiPHP and doesn't consider a CloudLinux implementation without the MultiPHP enabled. Yet, Wordpress still looks to install correctly. It's just its selecting the best PHP version that stuffs up.

    Is this a bug, can it be easily fixed?

    As a second to that, Wordpress is really the only cPAddon. Is it just going to be gotten rid of? If that is the case, thinking maybe I should just disable it altogether and consider other addon software solutions if such auto-installing functions are desired.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,459
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Kurieuo


    This is the second time I've heard this occurring with PHP selector today, out of curiosity do you have the following php extensions installed on the php version you're using for the WordPress site?

    Code:
    dom
    gmagick
    SimpleXML
    ssh2
    xml
    xmlreader
    curl
    date
    exif
    filter
    ftp
    gd
    hash
    iconv
    imagick
    json
    libxml
    mbstring
    mysqli
    openssl
    pcre
    posix
    sockets
    SPL
    tokenizer
    zlib
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Australia
    All required WP extensions were selected under PHP 7.2 and then some for the cPanel account. However, the actual cpAddon install script is run at command isn't it? Would PHP Selector PHP versions and extensions affect a shell executed install script?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,459
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    It should function with altPHP without issue. Do you have the MultiPHP selector UI available in cPanel for the user?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Australia
    Thanks Lauren.

    No, the MultiPHP is disabled, as far as I'm aware. It was enabled initially, but I disabled it to save user confusion. That was 2 years ago, perhaps my disabling was simply superficial. I can't see in WHM where it specificially says enable/disable?

    Maybe it is enabled and I just thought I disabled it. System default is PHP 5.6 (ea-php56) -- which I've been meaning to upgrade once I ensure websites are all changed from native to altPHP 5.6+ via CageFS.

    Accounts in questions have CageFS enabled and were set to altPHP 7.2. One was still set to native version (ea-php56).
     
    #5 Kurieuo, Jun 3, 2019
    Last edited: Jun 3, 2019
  6. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Australia
    I just setup a test account.

    Ensured that alt-PHP72 was selected via MultiPHP Manager (in WHM) for the new account.

    Trying to install Wordpress still gave:

    Error: The system could not run the “/usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php” install script and received the error code “255”: Cpanel::Exception/(XID 4hpaar) Your hosting provider must enable the “MultiPHP Manager” feature to perform this action. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 96. Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x231a190)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 50 Cpanel::AdminBin::Call::call("Cpanel", "multilang", "UPDATE_VHOST_CPANEL", "ea-php72", "php.domain.com") called at /usr/local/cpanel/Cpanel/API/LangPHP.pm line 136 Cpanel::API::LangPHP::php_set_vhost_versions(Cpanel::Args=HASH(0x37f3068), Cpanel::Result=HASH(0x22ff328)) called at /usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php line 129 scripts::wordpress_use_best_php::run("scripts::wordpress_use_best_php", "--domain", "php.domain.com") called at /usr/local/cpanel/cpaddons/cPanel/Blogs/WordPressX/wordpress_use_best_php line 27​

    I'm assuming the fact I can use MultiPHP Manager (in WHM) that it is enabled alongside CloudLinux's PHP Selector, and that I've only allowed users to see the PHP Selector and not MultiPHP (via features) to switch their PHP version.
     
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,459
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    MultiPHP needs to be enabled in cPanel for this to work, it's also noted in the error:

    Code:
    (XID 4hpaar) Your hosting provider must enable the “MultiPHP Manager” feature to perform this action.
    You can enable MultiPHP Manager for cPanel users by editing the featurelist for the package assigned to the account at WHM>>Packages>>Feature Manager
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Australia
    Well yes, I've said MultiPHP is disabled in the topic title --

    Now I've been using CloudLinux's PHP Selector for some time. I disabled MultiPHP to save confusion for users, and chose to go with PHP Selector as I read that it was more seucre, and could even be imported into cPanel and replace MultiPHP altogether (perhaps just a rumour?).

    In any case, it seems the Wordpress installer expects MultiPHP and doesn't consider a CloudLinux implementation without the MultiPHP enabled. Yet, Wordpress still looks to install correctly. It's just its selecting the best PHP version that stuffs up.​


    Lots of cPanel server ops just go with CloudLinux's PHP Selector. When I did my research, it was generally the one opted for a couple years back. Since either MultiPHP or CL PHP Selector can be used (and cPanel supports CL as well) -- such shouldn't really bug out like it does.
     
  9. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,459
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    This error is specifically related to it being disabled though, the word press manager does expect multiPHP manager to be enabled, while we do recognize and support CloudLinux it is still a 3rd party software.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice