国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

php編譯安裝常見錯誤大全和解決方法

2019-10-26 18:40:17
字體:
來源:轉載
供稿:網友

在CentOS編譯PHP5的時候有時會遇到以下的一些錯誤信息,基本上都可以通過yum安裝相應的庫來解決。以下是具體的一些解決辦法:

代碼如下:checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution

解決方法:yum install bzip2-devel

代碼如下:checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/

解決方法:yum install curl-devel

代碼如下:checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s).

解決方法:yum install db4-devel

代碼如下:checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.

解決方法:yum install libjpeg-devel

代碼如下:checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found.

解決方法:yum install libpng-devel

代碼如下:checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=

configure: error: freetype.h not found.


解決方法:Reconfigure your PHP with the following option. --with-xpm-dir=/usr

代碼如下:checking for png_write_image in -lpng… yes configure: error: libXpm.(a|so) not found.

解決方法:yum install libXpm-devel

代碼如下:checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h

解決方法:yum install gmp-devel

代碼如下:checking for utf8_mime2text signature… new checking for U8T_DECOMPOSE… configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

解決方法:yum install libc-client-devel

代碼如下:checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h

解決方法:yum install openldap-devel

代碼如下:checking for mysql_set_character_set in -lmysqlclient… yes checking for mysql_stmt_next_result in -lmysqlclient… no checking for Oracle Database OCI8 support… no checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!

Fix:yum install unixODBC-devel

代碼如下:checking for PostgreSQL support for PDO… yes, shared checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

解決方法:yum install postgresql-devel

代碼如下:checking for sqlite 3 support for PDO… yes, shared checking for PDO includes… (cached) /usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path… not found configure: error: Please reinstall the sqlite3 distribution

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 洪江市| 瑞金市| 梅州市| 北海市| 望城县| 临武县| 邢台市| 商洛市| 会东县| 湟源县| 西乌| 漠河县| 武川县| 松桃| 奎屯市| 灵川县| 瑞金市| 喀什市| 新余市| 高密市| 襄樊市| 陕西省| 东丰县| 仁布县| 桃园市| 房产| 永修县| 黄山市| 隆子县| 巴彦淖尔市| 亳州市| 新宁县| 彭州市| 垫江县| 潮安县| 文成县| 荆州市| 长春市| 偃师市| 南江县| 定日县|