What ssh Command Do I use?

nootkan

Well-Known Member
Oct 25, 2006
170
12
168
cPanel Version 108.0 (build 13)
Apache Version 2.4.55
MySQL Version 5.7.41
Architecture x86_64
Operating System linux - Centos 7.9
Kernel Version 3.10.0-1160.80.1.el7.x86_64
Php version 56
Hi all, I have been trying for hours now to try and find the path to the pear package I installed called HTTP/Request.php and cannot find it.

Tried using locate
HTTP/Request.php and locate HTTP_Request.php
Also tried
rpm -q {HTTP/Request2.php} and rpm -q {HTTP_Request.php}
Closest I got was this:
pear config-get php_dir
/opt/cpanel/ea-php71/root/usr/share/pear
But when I changed to that directory HTTP/Request.php wasn't there.

After installing it I got the following confirmation so I know it is there somewhere:
pear install HTTP_Request2
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading HTTP_Request2-2.5.1.tgz ...
Starting to download HTTP_Request2-2.5.1.tgz (127,089 bytes)
.............................done: 127,089 bytes
downloading Net_URL2-2.2.1.tgz ...
Starting to download Net_URL2-2.2.1.tgz (20,010 bytes)
...done: 20,010 bytes
install ok: channel://pear.php.net/Net_URL2-2.2.1
install ok: channel://pear.php.net/HTTP_Request2-2.5.1
Checked with Easy Apache 4 and pear is installed on all versions of php.

Any ideas or something I am missing?
Thanks for your time.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
944
423
363
cPanel Access Level
DataCenter Provider
The locate database only updates daily. There should be a cron job located at /etc/cron.daily/mlocate Assuming you have root, you can manually run that to update the locate database. Depending on the sites of the system it can take a bit to run.
 
  • Like
Reactions: nootkan