Announcement

Collapse
No announcement yet.

disable versions alt-php in the "MultiPHP Manager"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • skhristich
    replied
    Hello Shannon,
    Also, if you configured PHP Selector, we recommend disabling MultiPHP Manager for users. You can do that in Home » Packages » Feature Manager » Feature Lists » Manage feature list » select Default and uncheck the box for MultiPHP INI Editor and MultiPHP Manager. This will stop your customers from seeing MultiPHP Manager/Editor which can be very confusing.
    Thank you

    Leave a comment:


  • splaquet
    replied
    so, what im gathering is that we users are talking about one aspect of MultiPHP... while CL staff are referring to another aspect of MultiPHP. Heres a screenshot of what Im referring to. [attachment]Screenshot 2020-05-13 09.37.42.png[/attachment] - Disabling MultiPHP Manager in WHM will hide it from users - Editing alt-php.cfg will control what alt-php versions that users can choose from (assuming MultiPHP option is still available) BUT, having 2 cPanel choices for selecting a PHP version is *very* confusing for end-users. (as seen in the screenshot above) Id recommend a simple method to hide cPanels MultiPHP selector from cPanel end-users. (see screenshot below). [attachment]Screenshot 2020-05-13 09.46.52.png[/attachment] Possibly a checkbox option, within: - LVE Manager > Options "Disable cPanels native MultiPHP option from end user interface." IMO, the feature selector within WHM isnt the most intuitive... especially if hiding the MultiPHP functionality also breaks the WP Manager functionality in the process. (I mentioned above that hiding it previously created this issue. I havent recently checked if it still happens.)

    Leave a comment:


  • skhristich
    replied
    > in the past, ive used the WHM feature manager to disable the MultiPHP option in cPanel, for end users. i wasnt immediately aware of it, but that action resulted in the WordPress 1-click install to not work. when i reached out to support, i was told that MultiPHP had to remain enabled.
    >
    > so, as months have passed since then... is it now okay to disable MultiPHP manager in the features for cPanel end users?
    >
    > i have to admit, having 2 different PHP select type options in cPanel is *VERY* confusing for end users. especially for those who arent experienced with CloudLInux selector... OR those who use other cPanel instances w/o CloudLinux, as their only experience is changing PHP version using cPanels MultiPHP tool.
    >
    > for simplicitys sake, id like to suggest that CloudLinux removes cPanels MultiPHP manager, or at least gives the option to hide it for end users. ive had problems with this feature for years now, and (by what im reading in this thread) its still causing confusion for end users and admins alike.

    Hello Shannon,
    You can do so by editing the /opt/alt/alt-php-config/alt-php.cfg file.
    Once you edit it, run the /opt/alt/alt-php-config/multiphp_reconfigure.py script; it manages SCL prefixes for the Alt-PHP in /etc/scl/prefixes.
    In this example, we keep the alt-php72 visible in the list only:

    Code:
    [MultiPHP Manager]
    
    alt-php44 = no
    
    alt-php51 = no
    
    alt-php52 = no
    
    alt-php53 = no
    
    alt-php54 = no
    
    alt-php55 = no
    
    alt-php56 = no
    
    alt-php70 = no
    
    alt-php71 = no
    
    alt-php72 = yes
    Please let us know if you have any questions.
    Thanks in advance!

    Leave a comment:


  • splaquet
    replied
    in the past, ive used the WHM feature manager to disable the MultiPHP option in cPanel, for end users. i wasnt immediately aware of it, but that action resulted in the WordPress 1-click install to not work. when i reached out to support, i was told that MultiPHP had to remain enabled.

    so, as months have passed since then... is it now okay to disable MultiPHP manager in the features for cPanel end users?

    i have to admit, having 2 different PHP select type options in cPanel is *VERY* confusing for end users. especially for those who arent experienced with CloudLInux selector... OR those who use other cPanel instances w/o CloudLinux, as their only experience is changing PHP version using cPanels MultiPHP tool.

    for simplicitys sake, id like to suggest that CloudLinux removes cPanels MultiPHP manager, or at least gives the option to hide it for end users. ive had problems with this feature for years now, and (by what im reading in this thread) its still causing confusion for end users and admins alike.

    Leave a comment:


  • skhristich
    replied
    Hello Hermann,
    Thanks for following up! Yes, you`re right.

    Leave a comment:


  • apb
    replied
    From the above responses:

    Disable the "PHP selector" in LVE in the WHM console

    Configure the PHP versions in "MultiPHP Manager". Edit the alt-php config file and select the versions you want in "MultiPHP Manager".
    # vim /opt/alt/alt-php-config/alt-php.cfg
    [MultiPHP Manager]
    alt-php44 = no
    alt-php51 = no
    alt-php52 = no
    alt-php53 = no
    alt-php54 = no
    alt-php55 = no
    alt-php56 = no
    alt-php70 = no
    alt-php71 = yes
    alt-php72 = yes
    alt-php73 = yes

    And Run
    # /opt/alt/alt-php-config/multiphp_reconfigure.py

    If you get this error add the version to the config file.
    ERROR : Could not parse alt-php.cfg:
    No option alt-php73 in section: MultiPHP Manager

    Leave a comment:


  • apb
    replied
    The removal process for Alt-PHP versions is also described at https://docs.cloudlinux.com/php_selector_cpanel.html [attachment]alt-php.jpg[/attachment]

    Leave a comment:


  • apb
    replied
    Chris,

    If you are sure theres nobody left using alt-php44 on your server, please submit a ticket at https://cloudlinux.zendesk.com so our team can help you with its removal.

    Leave a comment:


  • apb
    replied
    I have a somehow similar "problem". I need to remove alt-php44 from our multi-server to enable a new server to be added. Its matching everything but this alt-php44 extension which is way too old to use anyway and is not being used on any of the other servers.

    Leave a comment:


  • apb
    replied
    If you are running Easy Apache 4, stick to EA-PHP packages. Alt-PHP are for non-EA4 cases.

    Leave a comment:


  • ighertesco
    replied
    Which is good to use? EA-PHP or ALT-PHP ?

    In my fresh cPanel server I am trying Cloudlinux first time, followed instructions and setup alt-php and php selector and all works fine. Then I found that the PHP 5.3 version is now available with Easy Apache 4 also (before cloudlinux installation it was not there). So I have provisioned that also via EA4 with Opcache & LSAPI

    But now my server has duplicate installations of PHP 53, 5.6, 7.0,7.1 in both EA & ALT versions..so really confused which one to depend.

    From a security perspective and performance level which one is good? We can remove the unwanted right

    # rpm -qa |grep ea-php >ea-php-list.txt (attached)
    # rpm -qa |grep alt-php >alt-php-list.txt (attached)

    Leave a comment:


  • ighertesco
    replied
    Hello,

    ea-php - those packages are delivered by cPanel, and can be used only with multiPHP Manager.
    alt-php - packages are delivered by CloudLinux and can be used only with PHP Selector.

    More deep explanation about PHP Selector and cPanel integration you can find here.

    You can also disable one feature to avoid such situations, and leave only one available to the end user.
    multiPHP Manager can be disabled in WHM -- Features Manager, and PHP Selector in WHM -- LVE Manager -- selector tab

    Leave a comment:


  • ighertesco
    replied
    Hello,
    I thank you for your return

    Im sorry, but I do not understand that very well.
    When I am on a CPANEL of a client in the section "PHP Selector | extensions" 4 versions of php are available.
    They are the same version as in cloudlinux and the "selector" section.

    But when I go to the "MultiPHP Manager" section, always on the cpanel of a client in the "PHP Version" section, I find alt-php * versions and ea-php * versions.
    What does the term ea-php and alt-php correspond to?
    And in this section we can not display the ea-php * version for example?

    Leave a comment:


  • ighertesco
    replied
    Hello Sylvain,

    It is not possible to use ea-php with PHP Selector.

    > currently, on the "selector" of LVE Manager version 5.5, 5.6, 7.0 and 7.1 is enabled,

    This means which alt-php versions are available for the end user only, but it is not possible to use ea-php provided by cPanel with CloudLinux PHP Selector

    Leave a comment:


  • ighertesco
    replied
    Hello,
    I thank you for your return
    I do not want to use the alt-php packages but only ea-php packages.
    currently, on the "selector" of LVE Manager version 5.5, 5.6, 7.0 and 7.1 is enabled, which is found on the cpanel of a client (MultiPHP Manager) offers versions alt-php and ea-php version .
    I wish you that in this section only the ea-php version are active.

    Relative to the documentation provided, the ea-php56 version is selected in the "MultiPHP Manager".

    Leave a comment:

Working...
X