ホームページ  >  記事  >  バックエンド開発  >  一般的な PHP ソース コードのインストール エラーとその解決策

一般的な PHP ソース コードのインストール エラーとその解決策

零到壹度
零到壹度オリジナル
2018-04-14 17:57:332165ブラウズ

この記事では、一般的な PHP ソース コードのインストール エラーとその解決策を紹介します。必要な場合は参照してください。

エラー:

configure: error: libevent >= 1.4.11 could not be found

エラー。 :

yum -y install libevent libevent-devel


解決策:

configure: error: Please reinstall the mysql distributio

エラー:

yum -y install mysql-devel

解決策: make ZEND_EXTRA_LIBS='-liconv' でコンパイルします

エラー:

make: *** [sapi/fpm/php-fpm] error 1


解決済み:
configure: error: XML configuration could not be found

エラー:

yum -y install libxml2 libxml2-devel


解決済み:

configure: error: No curses/termcap library found

エラー:

yum -y install ncurses ncurses-devel


解決済み:

configure: error: xml2-config not found

エラー:

yum -y install libxml2 libxml2-devel


解決策:

configure: error: Cannot find OpenSSL&#39;s <evp.h>

エラー:

yum install openssl openssl-devel

解決策:

configure: error: Please reinstall the libcurl distribution -easy.h should be in <curl-dir>/include/curl/

エラー:

yum install curl curl-devel


解決策:

configure: error: Cannot find ldap.h

エラー:

yum install openldap openldap-devel

解決策:


configure: error: libjpeg.(a|so) not found

エラー:

yum install libjpeglibjpeg -devel

解決済み:


configure: error: libpng.(a|so) not found.

エラー:

yum install libpnglibpng –devel

解決済み:


onfigure: error: freetype.h not found.

エラー:

yum install freetype-devel

解決編集:


configure: error: cannot find output from lex; giving up

エラー:

yum -y install flex

解決策:


yum -y install zlib-devel openssl-devel


错误:

Configure: error: Unable to locate gmp.h

解决:

yum install gmp-devel


错误:

Configure: error: Cannot find MySQL header files under /usr. 
Note that the MySQL client library is not bundled anymore!

解决:

yum install mysql-devel

以上が一般的な PHP ソース コードのインストール エラーとその解決策の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。