<?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>Xserver &#8211; highhigherhighest.com</title>
	<atom:link href="https://highhigherhighest.com/tag/xserver/feed" rel="self" type="application/rss+xml" />
	<link>https://highhigherhighest.com</link>
	<description>経営者向けにMacの使い方、仕事で発見した知見などを共有しているブログです。</description>
	<lastBuildDate>Wed, 13 Dec 2017 07:32:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">29218277</site>	<item>
		<title>2001年より前のエックスサーバーでphpを.htmlのファイル上で走らせる方法</title>
		<link>https://highhigherhighest.com/before-2001-xserver-php-with-html.html</link>
					<comments>https://highhigherhighest.com/before-2001-xserver-php-with-html.html#respond</comments>
		
		<dc:creator><![CDATA[とっと]]></dc:creator>
		<pubDate>Tue, 07 Nov 2017 08:39:17 +0000</pubDate>
				<category><![CDATA[ブログ]]></category>
		<category><![CDATA[Xserver]]></category>
		<guid isPermaLink="false">https://highhigherhighest.com/?p=5211</guid>

					<description><![CDATA[phpを.htmlファイル上で実行する手法は昔からあって僕も何度か使ってみたんだけど、今回はクライアント案件でハマったので、メモ。 この手法を用いる場合は.htaccessの設定が重要なのだけど、エックスサーバーの場合割 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" src="https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=1200%2C630&#038;ssl=1" alt="" width="1200" height="630" class="alignnone size-full wp-image-5235" srcset="https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?w=1200&amp;ssl=1 1200w, https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=300%2C158&amp;ssl=1 300w, https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=768%2C403&amp;ssl=1 768w, https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=1024%2C538&amp;ssl=1 1024w, https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=304%2C160&amp;ssl=1 304w, https://i0.wp.com/highhigherhighest.com/wp-content/uploads/2017/12/ogp.png?resize=282%2C148&amp;ssl=1 282w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
<p>phpを.htmlファイル上で実行する手法は昔からあって僕も何度か使ってみたんだけど、今回はクライアント案件でハマったので、メモ。</p>
<p>この手法を用いる場合は.htaccessの設定が重要なのだけど、エックスサーバーの場合割り振られたサーバー番号によって対処方法が異なる。</p>
<p>今回の案件は2001年より前に稼働しているサーバーが割り当てられていたので、そのやり方について書く。</p>
<p><span id="more-5211"></span></p>
<h2 id="2001年より前から稼働しているエックスサーバー上でphpをhtmlで走らせるために.htaccessに書く項目">2001年より前から稼働しているエックスサーバー上でphpをhtmlで走らせるために.htaccessに書く項目</h2>
<p>結論としては下の2行を.htaccess上に追加すればOK</p>
<p>AddHandler fcgid-script .html<br />
FCGIWrapper &#8220;サーバーのパス/xserver_php/php-cgi&#8221; .html</p>
]]></content:encoded>
					
					<wfw:commentRss>https://highhigherhighest.com/before-2001-xserver-php-with-html.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5211</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Disk: Enhanced  を使用したページ キャッシュ

Served from: highhigherhighest.com @ 2026-10-31 09:29:38 by W3 Total Cache
-->