<?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>Joe's Tech Blog &#187; PHP</title>
	<atom:link href="http://www.joestechblog.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joestechblog.com</link>
	<description>IT Support Notes, Tech Culture, Anything Geeky</description>
	<lastBuildDate>Thu, 08 Jul 2010 22:18:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Win2008/IIS7 + PHP5 FastCGI = 404 Error Messages</title>
		<link>http://www.joestechblog.com/2009/11/16/win2008iis7-php5-fastcgi-404-error-messages/</link>
		<comments>http://www.joestechblog.com/2009/11/16/win2008iis7-php5-fastcgi-404-error-messages/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 05:42:26 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Win2008]]></category>

		<guid isPermaLink="false">http://www.joestechblog.com/?p=35</guid>
		<description><![CDATA[Hopefully this saves someone some time. I spent hours working on a resolution before I came across it.
Background: Installed Win2008 + IIS7 + PHP 5.3 using the FastCGI method (used the Windows installer to configure IIS7).
Symptoms: PHP worked fine in my Default Site but when attempting to execute any scripts in Virtual Sites or Virtual [...]]]></description>
			<content:encoded><![CDATA[<p>Hopefully this saves someone some time. I spent hours working on a resolution before I came across it.</p>
<p>Background: Installed Win2008 + IIS7 + PHP 5.3 using the FastCGI method (used the Windows installer to configure IIS7).</p>
<p>Symptoms: PHP worked fine in my Default Site but when attempting to execute any scripts in Virtual Sites or Virtual Directories, every single PHP file would yield a 404 error message.</p>
<p>Solution: The problem ended up being that the &#8216;open_basedir&#8217; config variable from the php config file is applied to ANYWHERE that PHP is run&#8230;regardless of what the actual home folder should be for a site (PHP picks up the basedir during installation and statically enters it in your php.ini file). The default &#8216;basedir&#8217; will be whatever the root of your &#8216;Default Web Site&#8217; in IIS is (usually c:\inetpub\wwwroot\). If you comment out this line (enter a semicolon before the line) and restart IIS, it will solve the problem. If you&#8217;re running PHP as a FastCGI module, you&#8217;ll actually have to rename (or copy) the php.ini file to a file named &#8216;php-cgi-fcgi.ini&#8217; in the same folder as your php-cgi.exe executable. Be sure to restart IIS!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joestechblog.com/2009/11/16/win2008iis7-php5-fastcgi-404-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
