centos7 php7 動態編譯mysqlnd: configure: error: Cannot find OpenSSL's <evp.h>
錯誤解決
開始以爲是沒有安裝openssl, openssl-devel,安裝後發現還是提示這個錯誤,搜索了一下evp.h,這個文件也存在。
GOOGLE 了一下,在stackoverflow,找到了答案,原來是 phpize 生成的configure腳本有問題。
解決方法:
export PHP_OPENSSL_DIR=yes
./configure -with-openssl-dir=/usr/include/openssl