<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>私事。 跡地 &#187; WEB ARENA</title>
	<atom:link href="http://francisca.cc/category/%e3%82%b5%e3%83%bc%e3%83%90/web-arena/feed/" rel="self" type="application/rss+xml" />
	<link>http://francisca.cc</link>
	<description>ダメな人間らしくダラダラ</description>
	<lastBuildDate>Fri, 28 Oct 2011 14:10:27 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://francisca.cc/category/%e3%82%b5%e3%83%bc%e3%83%90/web-arena/feed/" />
		<item>
		<title>[ PHP ] CentOS 4 x86_64 でのPHPインストール時のハマりどころ</title>
		<link>http://francisca.cc/2008/04/14/php-centos-4-x86_64-%e3%81%a7%e3%81%aephp%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%83%8f%e3%83%9e%e3%82%8a%e3%81%a9%e3%81%93%e3%82%8d/</link>
		<comments>http://francisca.cc/2008/04/14/php-centos-4-x86_64-%e3%81%a7%e3%81%aephp%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%83%8f%e3%83%9e%e3%82%8a%e3%81%a9%e3%81%93%e3%82%8d/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 01:24:16 +0000</pubDate>
		<dc:creator>ef(管理人)</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Program]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[WEB ARENA]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://francisca.cc/?p=779</guid>
		<description><![CDATA[自分用メモも含みます。 環境としてはWEB ARENAのVPS上です。 CentOS 4, x86_64のようです。 64bit Linuxは/lib64なんてあるのでもうトラブルが起きないことはないってのが目に見えます [...]]]></description>
			<content:encoded><![CDATA[				<p>自分用メモも含みます。</p>
				<p>環境としてはWEB ARE<a href="http://wiki.ffo.jp/html/733.html">NA</a>のVPS上です。<br />
				CentOS 4, x86_64のようです。 64bit Linuxは/lib64なんてあるのでもう<a href="http://wiki.ffo.jp/html/214.html">トラ</a>ブルが起きないことはないってのが目に見えますが例に漏れず。<br />
				P<a href="http://wiki.ffo.jp/html/324.html">HP</a>は5.2.5です。</p>
				<p>解決方法のその前に、私の環境でのconfigureオプションはこんな感じです。<br />
				<blockquote>./configure \<br />
				&#8211;with-apxs2=/www/bin/apxs \<br />
				&#8211;enable-pdo=shared \<br />
				&#8211;with-pdo-sqlite=shared \<br />
				&#8211;with-sqlite=shared \<br />
				&#8211;with-mysql \<br />
				&#8211;enable-mbstring \<br />
				&#8211;enable-mbregex \<br />
				&#8211;with-gd \<br />
				&#8211;with-free<a href="http://wiki.ffo.jp/html/5059.html">ty</a>pe-dir \<br />
				&#8211;with-jpeg-dir \<br />
				&#8211;with-png-dir \<br />
				&#8211;with-zlib-dir \<br />
				&#8211;enable-gd-native-ttf \<br />
				&#8211;enable-gd-jis-conv \<br />
				&#8211;enable-zip \<br />
				&#8211;enable-exif \<br />
				&#8211;with-tidy \</p></blockquote>
				<p>では早速、ハマりどころ1<br />
				&#8211;with-mysql<br />
				です。 MySQLはyumでインストールしてあります。<br />
				<blockquote>
				checking for MySQL UNIX socket location&#8230; /var/lib/mysql/mysql.sock<br />
				configure: error: Cannot find libmysqlclient under /usr.<br />
				Note that the MySQL client library is not bundled anymore!
				</p></blockquote>
				<p>解決法はconfigureのオプションに &#8211;with-libdir=lib64 を加えるだけです。<br />
				<blockquote>
				&#8211;with-libdir=lib64 \
				</p></blockquote>
				<p>もちろん、これを加えることで発生するエラーももちろんあると思います。 が、それは割愛します。</p>
				<p>もう一点。 libtidy周りですね。<br />
				これは珍しく（？）make install時にエラーが起きます。<br />
				tidy自体はconfigureで&#8211;enable-sharedをつけています。<br />
				ちと問題を再現出来なくなってしまったのでアレですが、対処法だけ。<br />
				起きるエラーは確か、libtidy.soを触ろうとして「それは<a href="http://wiki.ffo.jp/html/17237.html">ライブラ</a>リじゃありません」的な内容です。<br />
				対処法は<br />
				<blockquote>
				vi /etc/ld.so.conf
				</p></blockquote>
				<p>で開いて<br />
				<blockquote>
				/usr/local/lib
				</p></blockquote>
				<p>を一行加えるだけです。</p>
				<p>64bit環境だと必ず起きる問題だと思うのですが、常識なのか、突っ込んだことをしていないのか。<br />
				不思議。</p>
]]></content:encoded>
			<wfw:commentRss>http://francisca.cc/2008/04/14/php-centos-4-x86_64-%e3%81%a7%e3%81%aephp%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%83%8f%e3%83%9e%e3%82%8a%e3%81%a9%e3%81%93%e3%82%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://francisca.cc/2008/04/14/php-centos-4-x86_64-%e3%81%a7%e3%81%aephp%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%83%8f%e3%83%9e%e3%82%8a%e3%81%a9%e3%81%93%e3%82%8d/" />
	</item>
	</channel>
</rss>

