/www/server/php/56/sbin/php-fpm:error while loading shared libraries:libssl.so.1.0. 0:cannot open shared object file:No such file or directory

When opening PHP, you need to use libssl.so.1.0.0 or libcrypto.so.1.0.0 but since most of them do not have the 1.0.0 version, I solved it based on the link, taking libcrypto.so.1.0.0 as an example

1. First check what versions of libcrypto.so are in the current system files

ll /usr/lib64/libcrypto.so.*

2. It is true that there is no such thing libcrypto.so.1.0.0, but there is this/usr/lib64/libcrypto.so.1.0.2k,so you can create the connection

sudo ln -s /usr/lib64/libcrypto.so.1.0.2k /usr/lib64/libcrypto.so.1.0.0

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *