ubuntu14.04 Cannot find OpenSSL's

Cannot find OpenSSL's

when i configure php7 manually,i get trouble with that problem,finaly,i solve it

condition:

sudo apt-get install libjpeg-dev libpng12-dev  libcurl4-openssl-dev libmcrypt-dev mcrypt apache2-dev 
./configure  --prefix=/opt/php-7.0.2 --with-config-file-path=/opt/php-7.0.2/etc   --with-iconv-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr/ --enable-xml --disable-rpath  --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization  --enable-mbregex   --enable-mbstring  --with-mcrypt   --enable-ftp --with-gd --enable-gd-native-ttf  --with-openssl -with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap  --without-pear  --with-gettext  --with-curl   --with-apxs2=/usr/bin/apxs --with-mysqli --with-pdo-mysql --enable-mbstring

problem:

Cannot find OpenSSL's <evp.h>

Anwser:

sudo apt-get install libcurl4-openssl-dev pkg-config

你可能感兴趣的:(ubuntu14.04 Cannot find OpenSSL's )