Skip to main content

Unable to install any php extensions

Comments

17 comments

  • Spirogg
    The VPS is running CentOS v7.9.2009 with cPanel & WHM v102.0.18 and LiteSpeed 6.0.12

    if your running lightspeed its not using apache. have you tried to turn off light speed and switch to apache in lightspeed settings and then try to add the extensions you need and see if that works first if still having issues can you run the commands below in order: yum clean all
    yum makecache
    yum update
    also can you post your output of yum update?
    0
  • Spirogg
    Also can you try to Rebuild RPM Database
    0
  • Bayern
    Thanks, this helped a bit forward! Changing to Apache did not change anything, but I rebuilt the database and did the yum update, the output was: [QUOTE]Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 178.18.193.52 * cpanel-addons-production-feed: 178.18.193.52 * cpanel-plugins: 178.18.193.52 * base: asi-fs-n.contabo.net * extras: centosmirror.netcup.net Excluding mirror: mirror.fra10.de.leaseweb.net * updates: asi-fs-n.contabo.net No packages marked for update
    After this all the other extensions were showing up in the review to be installed, but if I added any php version of sodium to be installed, the sodium along with all the other chosen extensions disappeared from the review. Obviously this had something to do with the libsodium extension & from shell using php -i | grep -i sodium
    returned the following: [QUOTE]sodium sodium support => enabled sodium compiled version => 2.0.23 libsodium headers version => 1.0.16 libsodium library version => 1.0.16
    So I suppose there is a conflict, but uninstalling the sodium from shell + restarting Apache/Litespeed did not change the situation; they still did not show up in the review to be installed in WHM. I installed the sodium back from shell since it's required by Magento, but I'd need to update it to 1.0.18 and would be nicer to maintain it from WHM for the future anyway, how could I get this done?
    0
  • Spirogg
    Hello I found this article as well might help.
    0
  • cPRex Jurassic Moderator
    @Bayern - if you still see issues after trying the details in that guide, feel free to open a ticket so we can check the system.
    0
  • Bayern
    The Step 2 was exactly what I was trying to do, without luck. But with the Step 1 I got the libsodium updated from 1.0.16 to 1.0.18 and now the Step 2 worked like a charm! Thank you @Spirogg & @cPRex, beer's on me if we meet one day :)
    0
  • Spirogg
    The Step 2 was exactly what I was trying to do, without luck. But with the Step 1 I got the libsodium updated from 1.0.16 to 1.0.18 and now the Step 2 worked like a charm! Thank you @Spirogg & @cPRex, beer's on me if we meet one day :)

    I glad you got it working :) I"ll take you up on that beer one day :) glad we could help
    0
  • abdulsamad544
    Hey! I am getting the same problem and see nothing to provision when I try to install php81-php-intl. Moreover, the same Nothing to Provision statement appears if further extensions are installed along it. It's strange for PHP 8.1 extensions to do like this. Can anybody help? @cPRex?
    0
  • cPRex Jurassic Moderator
    @abdulsamad544 - are you able to run a normal "yum update" on that server? If there are issues with Yum, EasyApache will not work.
    0
  • abdulsamad544
    Yes, I ran these commands previously as well to check. yum clean all yum makecache yum update Everything works. The Kernal package is also up to date.
    0
  • cPRex Jurassic Moderator
    If you run "yum search php-intl" what are the results?
    0
  • abdulsamad544
    Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 178.18.193.52 * cpanel-addons-production-feed: 178.18.193.52 * cpanel-plugins: 178.18.193.52 * base: asi-fs-d.contabo.net Excluding mirror: mirror.nl.leaseweb.net Excluding mirror: mirror.de.leaseweb.net * epel: mirrors.xtom.de Excluding mirror: mirror.fra1.de.leaseweb.net * extras: ftp.antilo.de Excluding mirror: mirror.fra1.de.leaseweb.net * updates: asi-fs-d.contabo.net ========================================================= N/S matched: php-intl ========================================================== ea-php54-php-intl.x86_64 : Internationalization extension for PHP applications ea-php55-php-intl.x86_64 : Internationalization extension for PHP applications ea-php56-php-intl.x86_64 : Internationalization extension for PHP applications ea-php70-php-intl.x86_64 : Internationalization extension for PHP applications ea-php71-php-intl.x86_64 : Internationalization extension for PHP applications ea-php72-php-intl.x86_64 : Internationalization extension for PHP applications ea-php73-php-intl.x86_64 : Internationalization extension for PHP applications ea-php74-php-intl.x86_64 : Internationalization extension for PHP applications ea-php80-php-intl.x86_64 : Internationalization extension for PHP applications ea-php81-php-intl.x86_64 : Internationalization extension for PHP applications ea-php82-php-intl.x86_64 : Internationalization extension for PHP applications Name and summary matches only, use "search all" for everything.
    0
  • cPRex Jurassic Moderator
    Thanks for providing that - I don't see any odd conflicts there, so I'm not sure what might be happening. It may be best to submit a ticket to our team so we can check this directly.
    0
  • abdulsamad544
    Sure, I will like to submit a ticket now. Should I share the ticket number so you can personally check?
    0
  • cPRex Jurassic Moderator
    That would be great!
    0
  • cPRex Jurassic Moderator
    Ticket number is 95069345 and I'm following along with that now.
    0
  • cPRex Jurassic Moderator
    It looks like many of the dependencies on the machine were related to CloudLinux and once we got those packages removed the installation went well!
    0

Please sign in to leave a comment.