[Solved] PHP7 configure: error: Cannot find OpenSSL’s

At first I thought it was because openssl and openssl-devel were not installed, but I found this error after installation. I searched for evp.h, and this file also exists. I googled it and found the answer on stackoverflow. It turned out that there was a problem with the configure script generated by phpize.

Solution: modify the configure file to add

This is an error when installing the mysqlnd extension

export PHP_OPENSSL_DIR = yes
  ./configure --with-php-config=/home/php/bin/php-config --enable-mysqlnd


Similar Posts: