Help to install PECL memcached module
Hello,
I have installed memcached on a server and am now trying to install PECL memcached module.
Pear is installed and works however when I try to install pecl modules I get command not found.
[root@host86 ~]# pear install memcached
No releases available for package "pear.php.net/memcached" - package pecl/memcached can be installed with "pecl install memcached"
install failed
[root@host86 ~]# pecl install memcached
-bash: pecl: command not found
Any pointers on how to get pecl working?
- Mike
-
Assuming you are on ea4, the command would look like: /opt/cpanel/ea-php72/root/usr/bin/pecl install memcached You should change the php path to reflect the version you want to install for. You can also use the module installer in WHM. 0 -
My module installer does not show any available modules in WHM. See attached. I'll try the command line you offered. 0 -
Hello, I tried /opt/cpanel/ea-php72/root/usr/bin/pecl list [root@host86 ~]# /opt/cpanel/ea-php72/root/usr/bin/pecl install memcached [root@host86 ~]# /opt/cpanel/ea-php72/root/usr/bin/pecl list [root@host86 ~]# However, it shows no list, it just returns the prompt. 0 -
that is quite odd. I don't think we could gather enough data in the forums to help you fix this and I've not seen it before. You could try running /scripts/check_cpanel_rpms --fix but I don't have a lot of hope there as that runs every night. Short of that I would put a ticket in with cPanel. 0 -
That is odd It is defintely available: 59435 I think further investigation would be warrnated in this case, can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
Hello, I have created ticket 12611913. I do also get a odd error when trying to setup remote access to the server. Error:WHM Authorization failed with the following error: SSHd is not listening on port "22" for ticket ID "12611913" and server "1". Access the cPanel Customer Portal (cPanel Customer Portal) and update the authentication information or select the correct ticket ID and server.. You may skip this server or correct the problem and try again. My SSH is running on a non-standard port. I provided that port in the remote access setup page. Yet cPanel remote access does not use the port and instead continues to try port 22. - Mike 0 -
So I open a ticket and the support tech makes to the live production server without asking if NOW is a good time!!!!!!!!! WHY, WHY cannot the tech ask question before diving headlong into creating BIGGER PROBLEMS ON THE LIVE SERVER. GOD THIS JUST SCREWS UP MY ENTIRE DAY NOW. I should know better than to ask for help. 0 -
Hello @JIKOmetrix I'm sorry to hear you were experiencing issues with the ticket, it looks like the supervisor has been in contact with you and they're working on sorting the issue out for you as well as identifying why the PECL installer issue is occurring. I also see that one of our Level 3 analysts is working on the issue currently and should be updating you further. 0 -
Hello, Yes, thank you. I was not clear how to get someones attention. Reporting the ticket to management was how I was able to get things addressed. Hello @JIKOmetrix I'm sorry to hear you were experiencing issues with the ticket, it looks like the supervisor has been in contact with you and they're working on sorting the issue out for you as well as identifying why the PECL installer issue is occurring. I also see that one of our Level 3 analysts is working on the issue currently and should be updating you further.
0 -
Hello, So in the end, It turned out to be an issue with my open_basedir paths. After setting my PHP7.2 open_basedir: /dev/urandom:/home/:/tmp:/opt/cpanel/composer/bin:/usr/local/bin:/root:/opt/cpanel/ea-php72/root/usr/bin/:/opt/cpanel/ea-php72/root/usr:/opt/cpanel/ea-php72/root/etc:/var/cpanel/php/sessions/ea-php72:/opt/cpanel/ea-php72/root/usr/share/pear/:/usr and running: yum install libmemcached-devel I was able to install the PECL memcached module for PHP7.2 Thanks, Mike 0 -
I'm really glad to hear that the issue is resolved now and you were able to get to the bottom of it! 0 -
Thanks for you assistance in this matter. 0
Please sign in to leave a comment.
Comments
12 comments