最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

PHP編譯安裝時(shí)常見錯誤解決辦法

 更新時(shí)間:2015年05月28日 11:36:19   投稿:junjie  
這篇文章主要介紹了PHP編譯安裝時(shí)常見錯誤解決辦法,本文涵蓋了PHP編譯安裝中的大多數(shù)錯誤,同時(shí)給出解決方法,需要的朋友可以參考下

This article is post on https://coderwall.com/p/ggmpfa

configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

復(fù)制代碼 代碼如下:

yum -y install libxslt-devel

configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
復(fù)制代碼 代碼如下:

yum -y install net-snmp-devel

configure: error: Please reinstall readline - I cannot find readline.h
復(fù)制代碼 代碼如下:

yum -y install readline-devel

configure: error: Cannot find pspell
復(fù)制代碼 代碼如下:

yum -y install aspell-devel

checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
復(fù)制代碼 代碼如下:

yum -y install unixODBC-devel

configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.
復(fù)制代碼 代碼如下:

yum -y install libicu-devel

configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.
復(fù)制代碼 代碼如下:

yum -y install libc-client-devel

configure: error: freetype.h not found.
復(fù)制代碼 代碼如下:

yum -y install freetype-devel

configure: error: xpm.h not found.
復(fù)制代碼 代碼如下:

yum -y install libXpm-devel

configure: error: png.h not found.
復(fù)制代碼 代碼如下:

yum -y install libpng-devel

configure: error: vpx_codec.h not found.
復(fù)制代碼 代碼如下:

yum -y install libvpx-devel

configure: error: Cannot find enchant
復(fù)制代碼 代碼如下:

yum -y install enchant-devel

configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
復(fù)制代碼 代碼如下:

yum -y install libcurl-devel

LAOGAO added 20140907:

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

復(fù)制代碼 代碼如下:

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
tar zxf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure
make && make install

added 20141003:

Cannot find imap

復(fù)制代碼 代碼如下:

ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.
復(fù)制代碼 代碼如下:

yum -y install libc-client-devel

Cannot find ldap.h
復(fù)制代碼 代碼如下:

yum -y install openldap
yum -y install openldap-devel

configure: error: Cannot find ldap libraries in /usr/lib
復(fù)制代碼 代碼如下:

cp -frp /usr/lib64/libldap* /usr/lib/

configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
復(fù)制代碼 代碼如下:

yum -y install postgresql-devel

configure: error: Please reinstall the lib curl distribution
復(fù)制代碼 代碼如下:

yum -y install curl-devel

configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
復(fù)制代碼 代碼如下:

yum -y install net-snmp-devel

configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
復(fù)制代碼 代碼如下:

yum -y install libxslt-devel

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

Fix:

復(fù)制代碼 代碼如下:

yum -y 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/

Fix:

復(fù)制代碼 代碼如下:

yum -y 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).

Fix:

復(fù)制代碼 代碼如下:

yum -y install db4-devel

checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.

Fix:

復(fù)制代碼 代碼如下:

yum -y 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.

Fix:

復(fù)制代碼 代碼如下:

yum -y install libpng-devel

checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=

configure: error: freetype.h not found.
Fix:

復(fù)制代碼 代碼如下:

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.

Fix:

復(fù)制代碼 代碼如下:

yum -y install libXpm-devel

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

Fix:

復(fù)制代碼 代碼如下:

yum -y 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.

Fix:

復(fù)制代碼 代碼如下:

yum -y install libc-client-devel

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

Fix:

復(fù)制代碼 代碼如下:

yum -y 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:

復(fù)制代碼 代碼如下:

yum -y 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

Fix:

復(fù)制代碼 代碼如下:

yum -y 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

Fix:

復(fù)制代碼 代碼如下:

yum -y install sqlite-devel

checking for utsname.domainname… yes checking for PSPELL support… yes configure: error: Cannot find pspell

Fix:

復(fù)制代碼 代碼如下:

yum -y install aspell-devel

checking whether to enable UCD SNMP hack… yes checking for default_store.h… no

checking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no configure: error: SNMP sanity check failed. Please check config.log for more information.

Fix:

復(fù)制代碼 代碼如下:

yum -y install net-snmp-devel

checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes, shared configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

Fix:

復(fù)制代碼 代碼如下:

yum -y install libxslt-devel

configure: error: xml2-config not found. Please check your libxml2 installation.

Fix:

復(fù)制代碼 代碼如下:

yum -y install libxml2-devel

checking for PCRE headers location… configure: error: Could not find pcre.h in /usr

Fix:

復(fù)制代碼 代碼如下:

yum -y install pcre-devel

configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!

Fix:

復(fù)制代碼 代碼如下:

yum -y install mysql-devel

checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!

Fix:

復(fù)制代碼 代碼如下:

yum -y install unixODBC-devel

checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

Fix:

復(fù)制代碼 代碼如下:

yum -y install postgresql-devel

configure: error: Cannot find pspell

Fix:

復(fù)制代碼 代碼如下:

yum -y install pspell-devel

configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

Fix:

復(fù)制代碼 代碼如下:

yum -y install net-snmp-devel

configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

Fix:

復(fù)制代碼 代碼如下:

yum -y install libxslt-devel

相關(guān)文章

  • yii2中使用webuploader實(shí)現(xiàn)圖片上傳的實(shí)戰(zhàn)項(xiàng)目

    yii2中使用webuploader實(shí)現(xiàn)圖片上傳的實(shí)戰(zhàn)項(xiàng)目

    本篇文章主要主要介紹了yii2中使用webuploader實(shí)現(xiàn)圖片上傳的實(shí)戰(zhàn)項(xiàng)目,具有一定的參考價(jià)值,有興趣的同學(xué)可以了解一下
    2017-09-09
  • PHP使用header方式實(shí)現(xiàn)文件下載功能

    PHP使用header方式實(shí)現(xiàn)文件下載功能

    這篇文章主要介紹了PHP使用header方式實(shí)現(xiàn)文件下載功能,非常不錯,具有參考借鑒價(jià)值,需要的朋友可以參考下
    2017-11-11
  • PHP實(shí)現(xiàn)抓取Google IP并自動修改hosts文件

    PHP實(shí)現(xiàn)抓取Google IP并自動修改hosts文件

    這篇文章主要介紹了PHP實(shí)現(xiàn)抓取Google IP并自動修改hosts文件,本文方法可以實(shí)現(xiàn)免翻墻上google,小編親測可用,需要的朋友可以參考下
    2015-02-02
  • php利用imagemagick實(shí)現(xiàn)復(fù)古老照片效果實(shí)例

    php利用imagemagick實(shí)現(xiàn)復(fù)古老照片效果實(shí)例

    imagick是一個PHP的擴(kuò)展,用ImageMagick提供的API來進(jìn)行圖片的創(chuàng)建與修改,不過這些操作已經(jīng)包裝到擴(kuò)展imagick中去了,最終調(diào)用的是ImageMagick提供的API。這篇文章主要給大家介紹了php利用imagemagick實(shí)現(xiàn)復(fù)古老照片的效果實(shí)例,需要的朋友可以參考下。
    2017-02-02
  • PHP 使用位運(yùn)算實(shí)現(xiàn)四則運(yùn)算的代碼

    PHP 使用位運(yùn)算實(shí)現(xiàn)四則運(yùn)算的代碼

    這篇文章主要介紹了PHP 使用位運(yùn)算實(shí)現(xiàn)四則運(yùn)算的代碼,本文通過實(shí)例代碼給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2020-01-01
  • ubuntu12.04使用c編寫php擴(kuò)展模塊教程分享

    ubuntu12.04使用c編寫php擴(kuò)展模塊教程分享

    php語言自帶了很多的擴(kuò)展模塊,諸如mbstring、gd、pdo等等。有時(shí)為了提高效率,需要用C實(shí)現(xiàn)其中的一些功能,就可以自行編寫php的擴(kuò)展模塊
    2013-12-12
  • 如何重寫Laravel異常處理類詳解

    如何重寫Laravel異常處理類詳解

    這篇文章主要給大家介紹了關(guān)于如何重寫Laravel異常處理類的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2020-12-12
  • Thinkphp整合阿里云OSS圖片上傳實(shí)例代碼

    Thinkphp整合阿里云OSS圖片上傳實(shí)例代碼

    kphp3.2整合阿里云OSS圖片上傳實(shí)例,圖片上傳至OSS可減少服務(wù)器壓力,節(jié)省寬帶,安全又穩(wěn)定,阿里云OSS對于做負(fù)載均衡非常方便,不用傳到各個服務(wù)器了,本文通過實(shí)例代碼給大家介紹,需要的朋友一起看看吧
    2019-04-04
  • ThinkPHP結(jié)合AjaxFileUploader實(shí)現(xiàn)無刷新文件上傳的方法

    ThinkPHP結(jié)合AjaxFileUploader實(shí)現(xiàn)無刷新文件上傳的方法

    這篇文章主要介紹了ThinkPHP結(jié)合AjaxFileUploader實(shí)現(xiàn)無刷新文件上傳的方法,是ThinkPHP文件上傳中一個比較典型的應(yīng)用技巧,非常具有實(shí)用價(jià)值,需要的朋友可以參考下
    2014-10-10
  • php面向?qū)ο蟮挠脩舻卿浬矸蒡?yàn)證

    php面向?qū)ο蟮挠脩舻卿浬矸蒡?yàn)證

    這篇文章主要為大家詳細(xì)介紹了php面向?qū)ο蟮挠脩舻卿浬矸蒡?yàn)證,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-06-06

最新評論

鄂伦春自治旗| 金阳县| 大石桥市| 汽车| 淅川县| 普兰县| 晋城| 邳州市| 林口县| 阳曲县| 且末县| 会理县| 河南省| 赤城县| 呈贡县| 台山市| 霍邱县| 乐亭县| 老河口市| 肥西县| 肇源县| 贵州省| 洮南市| 阿坝县| 新巴尔虎右旗| 扶余县| 湖北省| 宜川县| 武邑县| 广饶县| 马尔康县| 枣强县| 杨浦区| 宁明县| 泸水县| 喀喇沁旗| 原阳县| 阿坝| 乐亭县| 江都市| 柘城县|