Skip to main content

grpc not showing up in PECL/PEAR for centos7 and WHM

Comments

10 comments

  • andrew.n
    Can you try to install it this way? It should be relatively safe: /opt/cpanel/ea-php##/root/usr/bin/pecl install grpc-1.33.1 Replace "##" with the PHP version i.e 70, 71, 72, 73, 80 etc... If this doesn't work give this a try without specifying the version.
    0
  • cPRex Jurassic Moderator
    @andrew.n 's command worked well for me with PHP 7.4 on a CentOS 7 machine. Let us know if you still have issues after trying that!
    0
  • oah
    Can you try to install it this way? It should be relatively safe: /opt/cpanel/ea-php##/root/usr/bin/pecl install grpc-1.33.1 Replace "##" with the PHP version i.e 70, 71, 72, 73, 80 etc... If this doesn't work give this a try without specifying the version.

    Thx a ton It worked like a charm
    0
  • oah
    @andrew.n 's command worked well for me with PHP 7.4 on a CentOS 7 machine. Let us know if you still have issues after trying that!

    worked like charm. thx again. The funny thing is, I have no idea on how to mark the question as solved. Can I do it or is that an admin thing?
    0
  • andrew.n
    probably @cPRex has to do it. I'm happy that all worked out fine :) enjoy.
    0
  • cPRex Jurassic Moderator
    Correct - only I can mark threads as solved, so I'll do that now!
    0
  • keanallen
    @andrew.n 's command worked well for me with PHP 7.4 on a CentOS 7 machine. Let us know if you still have issues after trying that!

    How about in CENT OS 7 and PHP 8.1?
    0
  • cPRex Jurassic Moderator
    @keanallen - have you tried using the WHM >> Module Installer >> PECL option to install grpc? It takes a while to run, but I just tested that and confirmed that does work.
    0
  • keanallen
    @keanallen - have you tried using the WHM >> Module Installer >> PECL option to install grpc? It takes a while to run, but I just tested that and confirmed that does work.

    It is working if I install grpc on ea-php74. But I want it to install on ea-php81 because PHP7.4 has no longer support. And our laravel app requires at least php 8.1 The error when installing grpc on ea-php81 is:
    0
  • cPRex Jurassic Moderator
    At this point I wasn't able to reproduce since it installed fine for me on a system where the default was set to PHP 8.1 Could you create a ticket with our team so we can check this out?
    0

Please sign in to leave a comment.