My system is dbeian8.
Apt-get Update
sudo apt-get install apache2 Apache2-dev
Apt-get Install Build-essential
sudo apt-get install Libxml2-dev libcurl4-openssl-dev libjpeg-dev libpng-dev libxpm-dev libmysqlclient-dev Libpq-dev Libicu-dev Libfreetype6-dev Libldap2-dev Libxslt-dev
Apt-get Install Libssl-dev Libsslcommon2-dev
The packages were installed before the above compilation.
Find/-name ' OpenSSL '
/usr/include/x86_64-linux-gnu/openssl
/usr/include/openssl
/usr/share/doc/openssl
/usr/bin/openssl
/usr/local/src/php-5.6.0/ext/openssl
Download Preparation php5.6
Wget Http://cn2.php.net/distributi ...
Xz-d PHP-5.6.0.TAR.XZ
Tar XF php-5.6.0.tar-c/usr/local/src/
Groupadd www
Useradd-g www-s/sbin/nologin-m www
cd/usr/local/src/php-5.6.0/
Started compiling the
./configure \
--PREFIX=/USR/LOCAL/PHP56 \
--WITH-CONFIG-FILE-PATH=/USR/LOCAL/PHP56/ETC \
--enable-inline-optimization \
--disable-debug \
--disable-rpath \
--enable-shared \
--enable-opcache \
--ENABLE-FPM \
--WITH-FPM-USER=WWW \
--WITH-FPM-GROUP=WWW \
--WITH-MYSQL=MYSQLND \
--WITH-MYSQLI=MYSQLND \
--WITH-PDO-MYSQL=MYSQLND \
--with-gettext \
--enable-mbstring \
--with-iconv \
--with-mcrypt \
--with-mhash \
--WITH-OPENSSL \
--enable-bcmath \
--ENABLE-SOAP \
--with-libxml-dir \
--ENABLE-PCNTL \
--ENABLE-SHMOP \
--ENABLE-SYSVMSG \
--enable-sysvsem \
--ENABLE-SYSVSHM \
--enable-sockets \
--with-curl \
--with-zlib \
--enable-zip \
--WITH-BZ2 \
--with-readline
Error
Configure:error:Cannot Find OpenSSL ' s
Excuse me, how to solve?
Reply content:
My system is dbeian8.
Apt-get Update
sudo apt-get install apache2 Apache2-dev
Apt-get Install Build-essential
sudo apt-get install Libxml2-dev libcurl4-openssl-dev libjpeg-dev libpng-dev libxpm-dev libmysqlclient-dev Libpq-dev Libicu-dev Libfreetype6-dev Libldap2-dev Libxslt-dev
Apt-get Install Libssl-dev Libsslcommon2-dev
The packages were installed before the above compilation.
Find/-name ' OpenSSL '
/usr/include/x86_64-linux-gnu/openssl
/usr/include/openssl
/usr/share/doc/openssl
/usr/bin/openssl
/usr/local/src/php-5.6.0/ext/openssl
Download Preparation php5.6
Wget Http://cn2.php.net/distributi ...
Xz-d PHP-5.6.0.TAR.XZ
Tar XF php-5.6.0.tar-c/usr/local/src/
Groupadd www
Useradd-g www-s/sbin/nologin-m www
cd/usr/local/src/php-5.6.0/
Started compiling the
./configure \
--PREFIX=/USR/LOCAL/PHP56 \
--WITH-CONFIG-FILE-PATH=/USR/LOCAL/PHP56/ETC \
--enable-inline-optimization \
--disable-debug \
--disable-rpath \
--enable-shared \
--enable-opcache \
--ENABLE-FPM \
--WITH-FPM-USER=WWW \
--WITH-FPM-GROUP=WWW \
--WITH-MYSQL=MYSQLND \
--WITH-MYSQLI=MYSQLND \
--WITH-PDO-MYSQL=MYSQLND \
--with-gettext \
--enable-mbstring \
--with-iconv \
--with-mcrypt \
--with-mhash \
--WITH-OPENSSL \
--enable-bcmath \
--ENABLE-SOAP \
--with-libxml-dir \
--ENABLE-PCNTL \
--ENABLE-SHMOP \
--ENABLE-SYSVMSG \
--enable-sysvsem \
--ENABLE-SYSVSHM \
--enable-sockets \
--with-curl \
--with-zlib \
--enable-zip \
--WITH-BZ2 \
--with-readline
Error
Configure:error:Cannot Find OpenSSL ' s
Excuse me, how to solve?
Missing Openssl-dev