ubuntu 源碼安裝php configure error 解決


1:configure: error: libxml2 not found. Please check your libxml2 installation.

apt install libxml2-dev

2:configure: error: Cannot find OpenSSL's <evp.h>

apt install libssl-dev 

apt install openssl

find / -name libssl.so

ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib

3:configure: error: jpeglib.h not found.

apt install libjpeg-dev

4:configure: error: png.h not found.

apt install libpng-dev

5:configure: error: freetype-config not found

apt install libfreetype6-dev

6:curl version

apt install libcurl4-openssl-dev

7:configure: error: mcrypt.h not found. Please reinstall libmcrypt

apt install libmcrypt-dev


免責聲明!

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



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