Skip to main content

Server Software Clean-up

Comments

4 comments

  • David Colter
    Is the first part of question 3 answered with: root@vps [/opt/cpanel/libcurl/bin]# /opt/cpanel/libcurl/bin/curl -V curl 7.63.0 (x86_64-redhat-linux-gnu) libcurl/7.63.0 OpenSSL/1.0.2q zlib/1.2.3 brotli/1.0.2 libssh2/1.4.2 nghttp2/1.32.0 Release-Date: 2018-12-12
    0
  • cPanelMichael
    Hello @David Colter, Deleting any of the PHP binaries or links to them is not advised due to their use with the ea-php-cli package.The following documents explain the purpose of the PHP binaries and their relation to the ea-php-cli package: PHP Home - EasyApache 4 - cPanel Documentation EasyApache 4 and the ea-php-cli Package - EasyApache 4 - cPanel Documentation As far as cURL, the /usr/bin/curl location does not link to the ea-libcurl installation. It's a separate binary that comes from your OS: # /usr/bin/curl -V curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets # /opt/cpanel/libcurl/bin/curl -V curl 7.64.0 (x86_64-redhat-linux-gnu) libcurl/7.64.0 OpenSSL/1.0.2q zlib/1.2.7 brotli/1.0.2 libssh2/1.4.3 nghttp2/1.32.0 Release-Date: 2019-02-06 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli TLS-SRP HTTP2 UnixSockets HTTPS-proxy
    The ea-libcurl RPM is utilized by default with PHP, whereas the OS-provided cURL is available for uses of your choosing outside of PHP. Thank you.
    0
  • David Colter
    Thank you for your reply @cPanelMichael. I realize the initial post was lengthy and have learned from another thread that some cPanel functions may require an older version of php. However, your reply did not address the main purpose for posting the question. I see your response regarding curl - protect the binary /opt/cpanel/libcurl/bin/curl and [QUOTE]... whereas the OS-provided cURL is available for uses of your choosing outside of PHP.
    which leads me to understand 3 of the "old to very old" versions of curl can be safely removed. Do you agree? The server has several older versions of PHP that are no longer needed, and since the server has been upgraded to EA4, it is desired that all accounts use the EA4 PHP versions 7.0, 7.1 or 7.2. The /usr/bin directory contains (among other binaries): root@vps [/usr/bin]# ls -l ... -rwxr-xr-x 1 root root 937 Jan 29 21:06 php* lrwxrwxrwx 1 root root 12 Apr 21 2016 php5-cgi -> /usr/bin/php* lrwxrwxrwx 1 root root 18 Apr 21 2016 php5-cli -> /usr/local/bin/php* lrwxrwxrwx 1 root root 18 Apr 21 2016 php-cli -> /usr/local/bin/php* lrwxrwxrwx 1 root root 25 Apr 21 2016 php-config -> /usr/local/bin/php-config ...
    Are all of these necessary? Short of wiping and reinstalling the server's OS, is there guidance for housekeeping (cleaning) on a cPanel provisioned server? David
    0
  • cPanelMichael
    Hello @David Colter, I think it's a better approach if we access the affected system via a
    0

Please sign in to leave a comment.