<?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>Simon Whatley &#187; windows</title>
	<atom:link href="http://www.simonwhatley.co.uk/tag/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simonwhatley.co.uk</link>
	<description>The opposite of every great idea is another great idea</description>
	<lastBuildDate>Wed, 02 Nov 2011 09:28:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing PHP with Apache on Windows Vista</title>
		<link>http://www.simonwhatley.co.uk/installing-php-with-apache-on-windows-vista</link>
		<comments>http://www.simonwhatley.co.uk/installing-php-with-apache-on-windows-vista#comments</comments>
		<pubDate>Thu, 14 Feb 2008 09:50:38 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=396</guid>
		<description><![CDATA[Following on from my posts about installing Apache and ColdFusion on Vista, it is now the turn of PHP.]]></description>
			<content:encoded><![CDATA[<ol>
<li>
Download the current version of <acronym title="PHP: Hypertext Preprocessor">PHP</acronym> from <a href="http://www.php.net/downloads.php" title="PHP Download" rel="nofollow">http://www.php.net/downloads.php</a>. Get the Windows installer (in my case version 5.2.5).
</li>
<li>Uninstall any previous versions of <acronym title="PHP: Hypertext Preprocessor">PHP</acronym>. Delete any extraneous remaining directories.</li>
<li>Disable antivirus and firewall software.</li>
<li>Disable Windows Defender.</li>
<li>Disable User Account Control (<acronym title="User Account Control">UAC</acronym>).</li>
<li>
Use the command prompt to manually run the <acronym title="PHP: Hypertext Preprocessor">PHP</acronym> installer. Go to All Programs > Accessories Right-click &#8220;Command Prompt&#8221; and select &#8220;Run as Administrator&#8221;.</p>
<p>Browse to the location of the <acronym title="PHP: Hypertext Preprocessor">PHP</acronym> install file e.g.:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">C:\Users\Simon\Desktop\</pre></div></div>

</li>
<li>
In the command prompt type:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">C:\Users\Simon\Desktop\msiexec /i php-5.2.5-win32-installer.msi</pre></div></div>

<p>And hit the [Enter] button.
</li>
<li>
The installer should start and you should see the screenshot below. Click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-01.jpg' alt='PHP Install - Step 1' /></p>
</li>
<li>
Read and accept the terms of the license agreement and click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-02.jpg' alt='PHP Install - Step 2' /></p>
</li>
<li>
Choose your install folder and click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-03.jpg' alt='PHP Install - Step 3' /></p>
</li>
<li>
Choose the web server you wish to setup. In my case I will be using Apache 2.2.x. Click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-04.jpg' alt='PHP Install - Step 4' /></p>
</li>
<li>
Browse to the Apache Configuration Directory. In my case this is:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">C:\Program Files\Apache Software Foundation\Apache2.2\conf\</pre></div></div>

<p>Click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-05.jpg' alt='PHP Install - Step 5' /></p>
</li>
<li>
Choose the items to install. In my case I have chosen to install all items. Click &#8220;Next&#8221;.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-06.jpg' alt='PHP Install - Step 6' /></p>
</li>
<li>
<acronym title="PHP: Hypertext Preprocessor">PHP</acronym> is now ready to install.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-07.jpg' alt='PHP Install - Step 7' /></p>
</li>
<li>
The installation is now complete. The next task is to <a href="/configuring-php-with-apache-on-windows-vista" title="configure PHP">configure PHP</a>.</p>
<p><img src='http://www.simonwhatley.co.uk/blog/wp-content/uploads/2008/02/php-install-08.jpg' alt='PHP Install - Step 8' /></p>
</li>
</ol>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6475233631580417";
/* 468x60 Basic */
google_ad_slot = "7117418273";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonwhatley.co.uk/installing-php-with-apache-on-windows-vista/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Apache on Vista</title>
		<link>http://www.simonwhatley.co.uk/installing-apache-on-vista</link>
		<comments>http://www.simonwhatley.co.uk/installing-apache-on-vista#comments</comments>
		<pubDate>Wed, 08 Aug 2007 20:23:52 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[HTTP Server]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Web Server]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=315</guid>
		<description><![CDATA[Following the purchase of a spangly new Toshiba laptop running Vista, and not one for making life simple, I decided not to run my development environment on IIS7, but rather, I wanted to install the latest version of Apache. The installation process was not a trivial matter!]]></description>
			<content:encoded><![CDATA[<p>Following the purchase of a spangly new Toshiba laptop running Vista, and not one for making life simple, I decided not to run my development environment on <acronym title="Internet Information Services">IIS</acronym>7, but rather, I wanted to install the latest version of Apache.</p>
<p>Installing Apache under Windows XP was relatively trivial. This is not the case under Windows Vista. The creation of the Apache service fails, but not overtly. Furthermore, the all-important conf directory can™t be set up by the installer, probably due to user permission problems.</p>
<p>I finally got it working with the following procedure. I used the latest version of Apache (2.2.4) and Windows Vista Business Edition.</p>
<ol>
<li>Uninstall any previous installations of Apache Web server (Start &gt; Control Panel &gt; Programs and Features).<br />
Make sure that all old Apache folders are also removed (e.g. like C:\Program Files\Apache Software Foundation\&#8230;).</li>
<li>Turn off your firewall via the Control Panel.</li>
<li>Stop User Account Control (UAC).</li>
<li>Get the most recent version of Apache from <a href="http://httpd.apache.org/" rel="nofollow" target="_blank" title="Apache Webserver">http://httpd.apache.org/</a> and put it on your desktop, or folder of your choosing. The file I used was called apache_2.2.4-win32-x86-no_ssl.msi, but for ease, it is a good idea to rename the install file to apache.msi.</li>
<li>Start &gt; All Programs &gt; Accessories Right-Click Command Prompt and choose œRun as Administrator.</li>
<li>Via the command prompt, navigate to the folder in which the apache.msi install file is located.</li>
<li>Type msiexec /i apache.msi on the command prompt.
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-command-prompt.png" alt="Apache Install Command Prompt" /></p>
</li>
<li>Run through the Apache installer.
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step01.png" alt="Apache Install Step 1" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step02.png" alt="Apache Install Step 2" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step03.png" alt="Apache Install Step 3" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step04.png" alt="Apache Install Step 4" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step05.png" alt="Apache Install Step 5" /></p>
<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-6475233631580417";
/* 468x60 Basic */
google_ad_slot = "7117418273";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step06.png" alt="Apache Install Step 6" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step07.png" alt="Apache Install Step 7" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step08.png" alt="Apache Install Step 8" /></p>
<p style="text-align: center"><img src="http://www.simonwhatley.co.uk/blog/wp-content/uploads/2007/08/apache-install-step09.png" alt="Apache Install Step 9" /></p>
</li>
<li>I™m running it as a development server, so I left the domain as &#8220;localhost&#8221;.</li>
<li>Choose the default server on port 80 for all users option.</li>
<li>The default installation directory is C:\Program Files\Apache Software Foundation\Apache2.2\, but again for ease, you could change the installation directory to C:\Apache.</li>
<li>Reboot your computer.</li>
<li>The little Apache feather icon won™t appear on the task bar under Vista with the present version of Apache (2.2.4). To remove the œerror box that says blank or &#8220;the operation completed successfully on startup, go to All Programs &gt; Startup, and remove the &#8220;Monitor Apache Servers&#8221; item there.</li>
<li>Browse to http://localhost. It should say &#8220;It works!&#8221; If it doesn&#8217;t, panick, or check your httpd.conf file by going to All Programs &gt; Apache HTTP Server 2.2.x &gt; Configure Apache Server &gt; Test Configuration. Follow the directions for fixing the configuration file.</li>
<li>Turn your firewall back on.</li>
<li>Turn UAC back on too, if you like to be constantly bugged by control messages!</li>
</ol>
<p>Good luck!<br />
<script type="text/javascript"><!--
google_ad_client = "pub-6475233631580417";
/* 468x60 Basic */
google_ad_slot = "7117418273";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonwhatley.co.uk/installing-apache-on-vista/feed</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
	</channel>
</rss>

