Skip to main content

php*-php-litespeed extensions are required?

Comments

9 comments

  • vanessa
    You'll have to remove the entire set of packages and reinstall the cpanel/cloudlinux (depending on your OS) packages. So yes, it's a full removal and reinstall, as the litespeed packages are grouped and come from a different repository. In short, no, you don't need them, it just looks like that was the profile installed on the server for some reason. I haven't seen this be default on any server I've worked on, even servers with Litespeed.
    0
  • bellwood
    @vanessa thanks, we don't use a standard profile so I'm not sure how litespeed extensions ever got installed. I would prefer to use the yum shell to remove what is needed (similar to changing the MPM without disruption) versus a complete tear down and re-install via EA.
    0
  • bellwood
    @cPRex do you know if this would be supported? yum shell yum remove ea-php81-php-litespeed yum remove ea-php82-php-litespeed run
    I don't have a test machine available to verify it and really can't fathom coordinating a maintenance window to remove a PHP extension that will require a down/up of the entire PHP package. Oddly enough, when I try to install PHP 8.2 on other hosts, if I remove that one extension as part of the install process, it unselects everything else related to PHP 8.2 as well. Seems to me, for some reason, this extension *is* required?
    0
  • cPRex Jurassic Moderator
    I don't see why it wouldn't work - you can manually remove packages with Yum on any system just fine. EA4 is just a very pretty interface to Yum.
    0
  • bellwood
    So, gave it a shot, firstly, corrections: yum shell remove ea-php82-php-litespeed run
    However, the system still wants to remove all of PHP 8.2 citing: ================================================================================ Removing: ea-php82-php-litespeed x86_64 8.2.6-5.5.1.cpanel @EA4 6.6 M Removing for dependencies: ea-php82 x86_64 8.2.6-2.3.1.cpanel @EA4 0.0 ea-php82-pear noarch 1.10.13-2.2.17.cpanel @EA4 2.1 M ea-php82-php-bcmath x86_64 8.2.6-5.5.1.cpanel @EA4 477 k ea-php82-php-calendar x86_64 8.2.6-5.5.1.cpanel @EA4 192 k ea-php82-php-cli x86_64 8.2.6-5.5.1.cpanel @EA4 13 M ea-php82-php-curl x86_64 8.2.6-5.5.1.cpanel @EA4 518 k ea-php82-php-devel x86_64 8.2.6-5.5.1.cpanel @EA4 6.1 M ea-php82-php-fileinfo x86_64 8.2.6-5.5.1.cpanel @EA4 7.4 M ea-php82-php-fpm x86_64 8.2.6-5.5.1.cpanel @EA4 6.7 M ea-php82-php-ftp x86_64 8.2.6-5.5.1.cpanel @EA4 225 k ea-php82-php-gd x86_64 8.2.6-5.5.1.cpanel @EA4 1.4 M ea-php82-php-gettext x86_64 8.2.6-5.5.1.cpanel @EA4 62 k ea-php82-php-iconv x86_64 8.2.6-5.5.1.cpanel @EA4 194 k ea-php82-php-imap x86_64 8.2.6-5.5.1.cpanel @EA4 1.4 M ea-php82-php-intl x86_64 8.2.6-5.5.1.cpanel @EA4 3.9 M ea-php82-php-mbstring x86_64 8.2.6-5.5.1.cpanel @EA4 2.6 M ea-php82-php-mysqlnd x86_64 8.2.6-5.5.1.cpanel @EA4 2.5 M ea-php82-php-pdo x86_64 8.2.6-5.5.1.cpanel @EA4 1.0 M ea-php82-php-posix x86_64 8.2.6-5.5.1.cpanel @EA4 159 k ea-php82-php-soap x86_64 8.2.6-5.5.1.cpanel @EA4 2.0 M ea-php82-php-sockets x86_64 8.2.6-5.5.1.cpanel @EA4 434 k ea-php82-php-xml x86_64 8.2.6-5.5.1.cpanel @EA4 2.2 M ea-php82-php-zip x86_64 8.2.6-5.5.1.cpanel @EA4 410 k Transaction Summary ================================================================================ Remove 1 Package (+23 Dependent packages) Installed size: 62 M Is this ok [y/N]: n
    Perplexed as to why a litespeed extension is required? I could probably use RPM to skip deps: rpm -e --nodeps ea-php82-php-litespeed
    ...but not sure that's wise.
    0
  • vanessa
    As I stated previously, these packages are grouped together. I wouldn't use --nodeps unless you want to create a broken system next time you use EA. Again, your only clean option is to install a new profile.
    0
  • bellwood
    As I stated previously, these packages are grouped together. I wouldn't use --nodeps unless you want to create a broken system next time you use EA. Again, your only clean option is to install a new profile.

    Oh I agree, I guess my point above was, we are on a custom built profile, we've never used Litespeed nor manually installed that extension. Yum is oblivious to the EA profile in use, so, removing that one shouldn't be such a nuisance. For instance, I can attempt to remove other bolt on extensions, like say EXIF or SOAP and none of those try to remove the entirety of my PHP installation.
    0
  • bellwood
    I've also just checked every provided EA profile, they *all* have the litespeed extension enabled and if I try to remove it from the profile (that isn't in use) it wants to remove all of PHP.
    0
  • bellwood
    As I was opening a support ticket for this, the following article, from a year ago, was suggested:
    0

Please sign in to leave a comment.