<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing Apache, PHP, MySQL and phpMyAdmin on Windows XP&#8230; the right way</title>
	<atom:link href="http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/</link>
	<description>Learnings and Teachings on Web Application Development &#38; CakePHP</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:25:11 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Loy56</title>
		<link>http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/comment-page-1/#comment-5982</link>
		<dc:creator>Loy56</dc:creator>
		<pubDate>Thu, 22 Oct 2009 23:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=67#comment-5982</guid>
		<description>This happen about thirty days after her workspace was redesigned eliminating Cubicle Level Protection. ,</description>
		<content:encoded><![CDATA[<p>This happen about thirty days after her workspace was redesigned eliminating Cubicle Level Protection. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yackity</title>
		<link>http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/comment-page-1/#comment-3413</link>
		<dc:creator>Yackity</dc:creator>
		<pubDate>Fri, 19 Jun 2009 04:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=67#comment-3413</guid>
		<description>Ok so how can I go about installing PHP v7 from PHP-Fusion???  or cant that be done??</description>
		<content:encoded><![CDATA[<p>Ok so how can I go about installing PHP v7 from PHP-Fusion???  or cant that be done??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deizel</title>
		<link>http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/comment-page-1/#comment-227</link>
		<dc:creator>deizel</dc:creator>
		<pubDate>Wed, 03 Dec 2008 03:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=67#comment-227</guid>
		<description>I tend not to use packages like XAMPP as they initially enforce their own locations for config files and the webroot folder.

Some of these can be changed without much hassle, but if you get stuck on a major malfunction, you may find yourself querying Google with the likes of &quot;where is the php.ini for xampp&quot; or &quot;http error 500 *on xampp*&quot;.

The problem with this, I find, is that some problems you encounter may be specific to the packaged stack you chose, and therefore, the &quot;community&quot; (amount of helpful results) is diminished somewhat and you can lose a considerable amount of time trying to source a solution.

I tend to install my stack very similarly to the way Neil has outlined above. It may take a bit longer to install, but I feel that you can save time later by knowing exactly where everything is.

I house everything under &quot;C:\server\&quot; (on Windows), and make a shortcut to here which I can use for my development woes. There are two main approaches I take depending on the particular server &quot;component&quot; (php/mysql/etc) I am installing, which I will coin as &quot;straight&quot; and &quot;versioned&quot; for the purposes of this comment.

With the straight setup, PHP would be installed in C:\server\php\, but, in the versioned setup, PHP might be installed in C:\server\php\5.2.5\. The advantage of the latter is that you can install multiple versions of a particular &quot;component&quot; and switch between them fairly quickly (by editing the correct configuration file [eg. http.conf]).

The &quot;versioned&quot; method is not without the obvious added layer of complexity that comes with longer file paths, but I would only really be recommending it for those seasoned developers who feel they have the need to switch between different versions of server components, otherwise, the &quot;straight&quot; version is more suited for those who simply need a stack! (You can always change it around later)

Here is a quick example of how one might lay out the directory structure of a &quot;straight stack&quot; on Windows:

C:\server\php\
C:\server\mysql\
C:\server\apache\
C:\server\www\ &lt;- set this as webroot
C:\server\www\app1 (a cake app)
C:\server\www\app2 (another cake app)
C:\server\svn\ (svn binaries)
C:\server\cake\1.2-nightly\ (svn checkout)
C:\server\cake\1.2-rc2\ (svn checkout)
C:\server\cake\1.2-rc3\ (svn checkout)
C:\server\etc..

The above can easily be adapted to your tastes, or can be used as the basis for a &quot;versioned&quot; stack by giving certain components subfolders with their corresponding version numbers.

Notice that I have chosen to keep CakePHP outside of my webroot (ie. C:\server\cake\{version}). I can then tell a cake app (ie. C:\server\www\app1\) to use a certain version of CakePHP by adapting the CAKE_CORE_INCLUDE_PATH constant found in {app}\webroot\index.php.

For this, I find it easiest to base this constant from the previously defined ROOT constant in the same file. This is because I use a very similar setup on my live server, where the &quot;cake&quot; directory (which contains the same &quot;versioned&quot; struture) is located in the directory above my webroot.

define(&#039;CAKE_CORE_INCLUDE_PATH&#039;, dirname(ROOT) . DS . &#039;cake&#039; . DS . &#039;1.2-nightly&#039;);

This tells my app, that after going three levels up from C:\server\www\app1\webroot\ to define ROOT as C:\server\www\, that it must go up one more level (dirname()) before it will find the cake/1.2-nightly directories.

I will spare you guys any more details, apart from the only shortcuts I tend to use for developing with this setup are:

server: C:\server\
sites: C:\server\www\
ide: {insert ide here}</description>
		<content:encoded><![CDATA[<p>I tend not to use packages like XAMPP as they initially enforce their own locations for config files and the webroot folder.</p>
<p>Some of these can be changed without much hassle, but if you get stuck on a major malfunction, you may find yourself querying Google with the likes of &#8220;where is the php.ini for xampp&#8221; or &#8220;http error 500 *on xampp*&#8221;.</p>
<p>The problem with this, I find, is that some problems you encounter may be specific to the packaged stack you chose, and therefore, the &#8220;community&#8221; (amount of helpful results) is diminished somewhat and you can lose a considerable amount of time trying to source a solution.</p>
<p>I tend to install my stack very similarly to the way Neil has outlined above. It may take a bit longer to install, but I feel that you can save time later by knowing exactly where everything is.</p>
<p>I house everything under &#8220;C:\server\&#8221; (on Windows), and make a shortcut to here which I can use for my development woes. There are two main approaches I take depending on the particular server &#8220;component&#8221; (php/mysql/etc) I am installing, which I will coin as &#8220;straight&#8221; and &#8220;versioned&#8221; for the purposes of this comment.</p>
<p>With the straight setup, PHP would be installed in C:\server\php\, but, in the versioned setup, PHP might be installed in C:\server\php\5.2.5\. The advantage of the latter is that you can install multiple versions of a particular &#8220;component&#8221; and switch between them fairly quickly (by editing the correct configuration file [eg. http.conf]).</p>
<p>The &#8220;versioned&#8221; method is not without the obvious added layer of complexity that comes with longer file paths, but I would only really be recommending it for those seasoned developers who feel they have the need to switch between different versions of server components, otherwise, the &#8220;straight&#8221; version is more suited for those who simply need a stack! (You can always change it around later)</p>
<p>Here is a quick example of how one might lay out the directory structure of a &#8220;straight stack&#8221; on Windows:</p>
<p>C:\server\php\<br />
C:\server\mysql\<br />
C:\server\apache\<br />
C:\server\www\ &lt;- set this as webroot<br />
C:\server\www\app1 (a cake app)<br />
C:\server\www\app2 (another cake app)<br />
C:\server\svn\ (svn binaries)<br />
C:\server\cake\1.2-nightly\ (svn checkout)<br />
C:\server\cake\1.2-rc2\ (svn checkout)<br />
C:\server\cake\1.2-rc3\ (svn checkout)<br />
C:\server\etc..</p>
<p>The above can easily be adapted to your tastes, or can be used as the basis for a &#8220;versioned&#8221; stack by giving certain components subfolders with their corresponding version numbers.</p>
<p>Notice that I have chosen to keep CakePHP outside of my webroot (ie. C:\server\cake\{version}). I can then tell a cake app (ie. C:\server\www\app1\) to use a certain version of CakePHP by adapting the CAKE_CORE_INCLUDE_PATH constant found in {app}\webroot\index.php.</p>
<p>For this, I find it easiest to base this constant from the previously defined ROOT constant in the same file. This is because I use a very similar setup on my live server, where the &#8220;cake&#8221; directory (which contains the same &#8220;versioned&#8221; struture) is located in the directory above my webroot.</p>
<p>define(&#8216;CAKE_CORE_INCLUDE_PATH&#8217;, dirname(ROOT) . DS . &#8216;cake&#8217; . DS . &#8217;1.2-nightly&#8217;);</p>
<p>This tells my app, that after going three levels up from C:\server\www\app1\webroot\ to define ROOT as C:\server\www\, that it must go up one more level (dirname()) before it will find the cake/1.2-nightly directories.</p>
<p>I will spare you guys any more details, apart from the only shortcuts I tend to use for developing with this setup are:</p>
<p>server: C:\server\<br />
sites: C:\server\www\<br />
ide: {insert ide here}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dooltaz</title>
		<link>http://www.neilcrookes.com/2008/10/30/installing-apache-php-mysql-and-phpmyadmin-on-windows-xp-the-right-way/comment-page-1/#comment-225</link>
		<dc:creator>Dooltaz</dc:creator>
		<pubDate>Tue, 02 Dec 2008 21:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=67#comment-225</guid>
		<description>What I do is simply install Xampp. No setup is really necessary other than setting up the virtual hosts that I&#039;m going to use: 

C:\xampp\apache\conf\extra\httpd-vhosts.conf

I usually create a c:\www directory for all of my development and point my virtual hosts there using my hosts file.

I&#039;ve built Lamp systems in the past and I&#039;ve found this to be the least complicated way.</description>
		<content:encoded><![CDATA[<p>What I do is simply install Xampp. No setup is really necessary other than setting up the virtual hosts that I&#8217;m going to use: </p>
<p>C:\xampp\apache\conf\extra\httpd-vhosts.conf</p>
<p>I usually create a c:\www directory for all of my development and point my virtual hosts there using my hosts file.</p>
<p>I&#8217;ve built Lamp systems in the past and I&#8217;ve found this to be the least complicated way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
