phpの最近のブログ記事

ということで、この前いれたPHPを再度コンパイルします

 

./configure  --with-apxs2=/httpd/bin/apxs --with-curl

 

えっこらせっと・・・ん?

 

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
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/

 

まずは、デフォルトのPHPを抜きましょう!!

 

rpm -qa | grep -i php

 

して、出たものから、ズンズン抜いてく

 

rpm -e php-5.1.6-15.el5
rpm -e php-cli-5.1.6-15.el5
rpm -e php-ldap-5.1.6-15.el5
rpm -e php-common-5.1.6-15.el5

 

php使いたいって言っても、mod_phpを使いたいだけなので、本家からもってきたソースをapxsのみでコンパイル

 

./configure -with-apxs2=/httpd/bin/apxs

 

ありゃ?? エラーが。。。

 

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

 

 

Perl 勉強本

Oracle 勉強本

J2EE 勉強するなら、これしかなくね?

2008年6月: 月別アーカイブ

このアーカイブについて

このページには、過去に書かれたブログ記事のうちphpカテゴリに属しているものが含まれています。

前のカテゴリはperlです。

次のカテゴリはpostgresqlです。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Movable Type 4.1

ブログ管理人

SE perler@29

アイテム

  • image001.gif
  • modperl.png

アドパートナー

tooland

Pingo!

boox