<?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>plasmid.co.uk &#187; Environment Variables</title>
	<atom:link href="http://plasmid.co.uk/tag/environment-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://plasmid.co.uk</link>
	<description>because life is faster in reverse ...</description>
	<lastBuildDate>Thu, 20 May 2010 23:07:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://plasmid.co.uk</link>
  <url>http://plasmid.co.uk/wp/favicon.ico</url>
  <title>plasmid.co.uk</title>
</image>
		<item>
		<title>Beware XAMPP meddling with your Environment Variables!</title>
		<link>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/</link>
		<comments>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 03:25:41 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Environment Variables]]></category>
		<category><![CDATA[PATH]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=197</guid>
		<description><![CDATA[I decided to grab a copy of the official release of PHP 5.3.0 for XAMPP and try it out (replacing my hacked version in an effort to resolve some database compatibility issues).
Unfortunately, this proved to be a BIG MISTAKE!
Moments after installing the software, all my new shell windows reported that mkdir, doskey, ipconfig and even [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to grab a copy of the official release of PHP 5.3.0 for XAMPP and try it out (replacing <a href="http://plasmid.co.uk/2009/05/23/installing-php-530rc2-for-xampp-windows/">my hacked version</a> in an effort to resolve some database compatibility issues).</p>
<p>Unfortunately, this proved to be a <strong>BIG MISTAKE</strong>!</p>
<p>Moments after installing the software, all my new shell windows reported that <strong>mkdir</strong>, <strong>doskey</strong>, <strong>ipconfig</strong> and even <strong>HELP</strong> are 'unrecognized' - so began my hour-long search for a resolution to the amnesia that had suddenly afflicted the command-line.</p>
<p>The problem turned out to be two-fold:</p>
<ol>
<li>It would seem the installation script (<strong>setup_xampp.bat</strong>) or shell script (<strong>xampp_shell.bat</strong>) had a misunderstanding with some of my custom command-line settings. In fact, it decided my <strong>PATH</strong> environment variable wasn't up to scratch... so it erased it! This meant that the command-line had no idea where to look for system apps. and as result shut-down a large portion of my system utilities.</li>
<li>In addition to the above, the script added to my default shell script (HKEY_USERS\...\Software\Microsoft\Command Processor\AutoRun) a small 'set PATH=' command that each time it was run added the XAMPP directory to PATH and then deformed it with an increasingly long string of semi-colons.</li>
</ol>
<p>Needless to say, I'm somewhat annoyed that there is no visible warning during installation that it could potentially FUBAR your environment variables. I hope this provides some insight for people who might be experiencing a similar problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.342 seconds -->
