What ssh Command Do I use?
[QUOTE]
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 [QUOTE]HTTP/Request.php and locate HTTP_Request.php
Also tried [QUOTE]rpm -q {HTTP/Request2.php} and rpm -q {HTTP_Request.php}
Closest I got was this: [QUOTE] 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: [QUOTE] 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.
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 [QUOTE]HTTP/Request.php and locate HTTP_Request.php
Also tried [QUOTE]rpm -q {HTTP/Request2.php} and rpm -q {HTTP_Request.php}
Closest I got was this: [QUOTE] 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: [QUOTE] 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.
-
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. 0 -
Hey there! I don't think you're going to find a usable path directly to an executable for this software. Much like a PHP module, it's a tool that can be used by pear, but isn't going to be a separate entity. 0 -
Okay thanks guys, I'll try a different approach. 0
Please sign in to leave a comment.
Comments
3 comments