Why the PHP function phpinfo() shows two OpenSSL versions?
Currently, the cPanel repositories provide two OpenSSL versions:
ea-openssl.x86_64 : Cryptography and SSL/TLS Toolkit
ea-openssl11.x86_64 : Cryptography and SSL/TLS Toolkit
The current version, which is ea-openssl11, is installed by default on new cPanel servers. However, if the server was customized or the package was installed afterward, it is possible to end up with the two packages
in the system.
To confirm which versions are installed, the following can command can be executed:
rpm -qa|grep ^ea-openssl
If the output of the command shows to versions:
ea-openssl-1.0.2u-1.1.3.cpanel.x86_64 <-- older
ea-openssl11-1.1.1h-1.1.1.cpanel.x86_64 <-- newer
The oldest version can be removed with the following command:
yum erase ea-openssl