編譯php5.6出錯:configure: error: Cannot find OpenSSL's
我的系統dbeian8.
apt-get update
sudo apt-get install apache2 apache2-dev
apt-get install build-essential
sudo apt-get install libxml2-dev libcurl4-libssl-dev libclim-dev install libxml2-dev libcurl4-libssl-dev libclim-mlib-libcx -dev libicu-dev libfreetype6-dev libldap2-dev libxslt-dev
apt-get install libssl-dev libsslcommon2-dev
上面的編譯前,各包安裝完了。
find / -name 'openssl'
/usr/include/x86_64-linux-gnu/openssl
/usr/include/openssl
/usr/share/doc/openssl
/usr/binssl
/usr/share/doc/openssl
下載準備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
開始編譯了
./configure
--prefix=/usr/local/php56
--with-config-file-path=/usr/local/php56/etc
--enable-inline-optimization
--disable
--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
-mhash
--with-openssl
--enable-bcmath
--enable-soap
--with-libxml-dir
--enable-pcntl
--enable-shmop
--enable-syssgen
--enable-shmop
--enable-syssgen
-- -sysvsem
--enable-sysvshm
--enable-sockets
--with-curl
--enable-zip
--with-bz2
報錯 configure: error: Cannot find OpenSSL's
請問,如何解決?
回覆內容:
我的系統dbeian8.
apt-get update
sudo apt-get install apache2 apache2-dev
sudo apt-get install libxml2-dev libcurl4-libssl-dev libclim-dev install libxml2-dev libcurl4-libssl-dev libclim-dev install libxmlm-libc -dev libicu-dev libfreetype6-dev libldap2-dev libxslt-dev
apt-get install libssl-dev libsslcommon2-dev
上面的編譯前,各包安裝完了。
find / -name 'openssl'
/usr/include/x86_64-linux-gnu/openssl
/usr/share/doc/openssl
/usr/binssl
/usr/share/doc/openssl src/php-5.6.0/ext/openssl
下載準備php5.6
wget http://cn2.php.net/distributi...
xz -d php-5.6.0.tar.xz
groupadd www
useradd -g www -s /sbin/nologin -M www
cd /usr/local/src/php-5.6.0/
開始編譯了
./configure
--prefix=/usr/local/php56
--with-config-file-path=/usr/local/php56/etc
--enable-inline-optimization
--disable
--disable-inline-optimization
--disable
--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
-mhash
--with-openssl
--enable-bcmath
--enable-soap
--with-libxml-dir
--enable-pcntl
--enable-shmop
--enable-syssgen
--enable-shmop
-- -sysvsem
--enable-sysvshm
--with-curl
--with-zlib--enable-zip
--with-bz2
--with-readline🎜 🎜報錯 🎜configure: error: Cannot find OpenSSL's
熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

適用於 Ubuntu 和 Debian 的 PHP 8.4 安裝和升級指南

如何設定 Visual Studio Code (VS Code) 進行 PHP 開發
