php - configure: error: Can't find OpenSSL's evp.h

php - configure: error: Can't find OpenSSL's evp.h

/configure --prefix=/usr/local/php   --with-openssl=/usr/bin --with-curl=/usr/bin

编译时总是出错
原因如下:
1 确认安装了openssl openssl-devl
2修改路径为 /usr/sbin 或者 /usr/include/openssl
3 去掉路径 直接 --with-openssl

你可能感兴趣的:(error,OpenSSL,configure,can,evp)