ubuntu编译openssl遇到的问题

在不用重新编译php,利用php扩展ext的文件中 找到openssl,

把里面的config0.m4文件复制一份名为config.m4,

然后利用./configure --with-php-config=php-config的文件目录 --with-openssl,

生成configure文件,在生成makefile文件中会出现错误,cannot find OpenSSL'S<evl.h>的错误,

原因是没有安装三个文件libcurl4-open-dev pkg-config libssl-dev,利用apt-get安装好该文件,

然后执行make  make install

 

posted @ 2016-06-25 09:06  逆流的致爷  阅读(549)  评论(0编辑  收藏  举报