<?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/"
	>

<channel>
	<title>kimson.name &#187; php</title>
	<atom:link href="http://kimson.name/wordpress/archives/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://kimson.name/wordpress</link>
	<description>Just  memo pad</description>
	<lastBuildDate>Tue, 24 Jan 2012 15:30:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>PHP:ZIPモジュールのインストール（CentOS5.5)</title>
		<link>http://kimson.name/wordpress/archives/107</link>
		<comments>http://kimson.name/wordpress/archives/107#comments</comments>
		<pubDate>Wed, 07 Sep 2011 13:15:45 +0000</pubDate>
		<dc:creator>kimson</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://kimson.name/wordpress/?p=107</guid>
		<description><![CDATA[TweetPHPでZIPファイルの解凍をしたくて，その際に調べたことなどをメモとして残しておく． 環境 serversman@VPSのEntryのサーバです． OS : CentOS 5.5 PHP : 5.1.6 調べ &#8230; <a href="http://kimson.name/wordpress/archives/107">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton107" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fgoo.gl%2Fovyyn&amp;via=nichts1007&amp;text=PHP%3AZIP%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%EF%BC%88CentOS5.5%29&amp;related=nichts1007:myiphone_jp&amp;lang=ja&amp;count=horizontal&amp;counturl=http%3A%2F%2Fkimson.name%2Fwordpress%2Farchives%2F107" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://kimson.name/wordpress/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>PHPでZIPファイルの解凍をしたくて，その際に調べたことなどをメモとして残しておく．</p>
<p>環境<br />
serversman@VPSのEntryのサーバです．<br />
OS : CentOS 5.5<br />
PHP : 5.1.6</p>
<p>調べていると，どうやらモジュールの追加が必要らしい．<br />
そのモジュールはPECLとやらでインストールできて，PECLはpearをインストールすれば使える．<br />
ということでpearのインストール．</p>
<p># yum -y instal php-pear</p>
<p>それでzipモジュールのインストール．最新バージョンをインストールしようとするとエラーが出るので，古いのを入れます．<br />
（参考：<a href="http://prograrts-job.blogspot.com/2010/11/php-zipso.html">http://prograrts-job.blogspot.com/2010/11/php-zipso.html</a>)</p>
<p># pecl install zip-1.8.10.tgz</p>
<p>あとは/etc/php.iniの適当なことろに設定を追加</p>
<p># echo &#8220;extension=zip.so&#8221; &gt;&gt; /etc/php.ini<br />
# service httpd restart</p>
<p>これでzipモジュールが使えるはず．</p>
<div id="extensionsWeblioEjBx" style="position: absolute; z-index: 2147483647; left: 181px; top: 677px; display: none;"></div>
]]></content:encoded>
			<wfw:commentRss>http://kimson.name/wordpress/archives/107/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

