ubuntu14.04 Cannot find OpenSSL's


Cannot find OpenSSL's <evp.h>

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM