<?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>Development memo &#187; バージョンアップ</title>
	<atom:link href="http://officesoya.net/weblog/tag/%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97/feed/" rel="self" type="application/rss+xml" />
	<link>http://officesoya.net/weblog</link>
	<description>Rough Consensus　And Running code</description>
	<lastBuildDate>Mon, 21 Jun 2010 09:22:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/tag/%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97/feed/" />
		<item>
		<title>phpのバージョンが変わらない[Windows php5.2.9]</title>
		<link>http://officesoya.net/weblog/2009/04/11/php_varsion_up/</link>
		<comments>http://officesoya.net/weblog/2009/04/11/php_varsion_up/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 15:19:29 +0000</pubDate>
		<dc:creator>soya</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[バージョンアップ]]></category>

		<guid isPermaLink="false">http://officesoya.net/weblog/?p=148</guid>
		<description><![CDATA[かなりはまりました。phpとApacheのインストールはWindows Serverで何十回も行っているのですが、バージョンアップは初でした。で、はまりました。
以前のバージョンはPHP5.2.3なんですが今回バージョン [...]]]></description>
			<content:encoded><![CDATA[<p>かなりはまりました。phpとApacheのインストールはWindows Serverで何十回も行っているのですが、バージョンアップは初でした。で、はまりました。</p>
<p>以前のバージョンはPHP5.2.3なんですが今回バージョンアップを試み最新バージョン（PHP5.2.9）のインストーラーをダウンロードしてきました。バージョンアップする必要なし！というつっこみはおいといて･･･</p>
<p>で、以前のバージョンのはインストーラではなくてバイナリをダウンロードしてきたものでしたので、そのままゴミ箱へ。そして最新バージョンのをインストーラーでインストール。でApache再起動でOK！と思っていました。</p>
<p>でも、phpinfo()でみると以前のバージョンのまま・・・なぜ？？</p>
<p>PHP何度も削除してインストールしてを繰り返しましたが結局だめでした。最終的にはバイナリ版を持ってきて丸ごとフォルダにコピーしてもやっぱりバージョンは変わらない･･･</p>
<p>コマンドラインから　php -v</p>
<p>とやると、PHP5.2.9と出るんです。でもphpinfo()だとPHP5.2.3と出るんです･･･。</p>
<p>でもって</p>
<p>echo phpversion();</p>
<p>でも　PHP5.2.3と出るんです。</p>
<p>echo PHP_VERSION</p>
<p>でも　PHP5.2.3と出るんですよ。</p>
<p>でも、解決しました。原因はバイナリ版を以前コピペでインストールしたとき、php.iniとphp5ts.dllがC:\WINDOWSにコピーしてあったんです。それがPHP5.2.3を表示させている原因でした。php.iniはこの現象の原因とは関係ないですが。</p>
<p>C:\WINDOWSにあるphp5ts.dllを削除<br />
ついでにC:\WINDOWS\php.iniも紛らわしいので削除（インストーラではphp.iniはphpをインストールしたディレクトリに置かれ、Apacheのhttpd.confに勝手にINI_PATHを書き込んでくれるため）</p>
<p>解決！4時間くらい悩みました。</p>
]]></content:encoded>
			<wfw:commentRss>http://officesoya.net/weblog/2009/04/11/php_varsion_up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://officesoya.net/weblog/2009/04/11/php_varsion_up/" />
	</item>
	</channel>
</rss>
