<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to setup Apache, PHP, &#038; MySQL on Mac OS X 10.5 (Leopard)</title>
	<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/</link>
	<description>Incoherent babble served on a platter.</description>
	<pubDate>Fri, 25 Jul 2008 12:44:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: gellm</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-6512</link>
		<pubDate>Fri, 06 Jun 2008 11:37:03 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-6512</guid>
					<description>So that is why i could not find where apache was installed - The folder was hidden! Thanks very much.</description>
		<content:encoded><![CDATA[<p>So that is why i could not find where apache was installed - The folder was hidden! Thanks very much.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Danilo Stern-Sapad</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5768</link>
		<pubDate>Sat, 29 Mar 2008 05:09:54 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5768</guid>
					<description>Hi bleep,

Yes, you should have a folder at &lt;code&gt;/etc/apache2/original/&lt;/code&gt;

Open Finder and hold down &lt;code&gt;command shift G&lt;/code&gt;

Under &lt;em&gt;Go to folder:&lt;/em&gt; type &lt;code&gt;/etc/apache2/original/&lt;/code&gt; and click Go.

If you see httpd.conf and the extra folder open up Terminal and type:
&lt;code&gt;sudo cp /etc/apache2/original/httpd.conf /etc/apache2/&lt;/code&gt;

This will overwrite the changes you made to the file during my tutorial.

After this is done I'd suggest you try the tutorial from the beginning. Make sure you have Xcode installed first though and that you read and understand each step; I've seen people try to skip steps before but this really isn't something you can just skim through.


You can make sure &lt;code&gt;sudo cp /etc/php.ini.default php.ini&lt;/code&gt; worked by typing this command into Terminal:
&lt;code&gt;locate php.ini&lt;/code&gt;

If the command returns &lt;code&gt;/private/etc/php.ini&lt;/code&gt; the earlier command worked.

And, &lt;em&gt;/Library/WebServer/Documents/&lt;/em&gt; exists on a clean install of both Leopard and Tiger by default. If you can't find the folder I'd suggest reinstalling your OS then following my directions or using something like &lt;a href="http://www.macports.org/" rel="nofollow"&gt;MacPorts&lt;/a&gt; to get Apache, PHP, and MySQL up and running on your machine.</description>
		<content:encoded><![CDATA[<p>Hi bleep,</p>
<p>Yes, you should have a folder at <code>/etc/apache2/original/</code></p>
<p>Open Finder and hold down <code>command shift G</code></p>
<p>Under <em>Go to folder:</em> type <code>/etc/apache2/original/</code> and click Go.</p>
<p>If you see httpd.conf and the extra folder open up Terminal and type:<br />
<code>sudo cp /etc/apache2/original/httpd.conf /etc/apache2/</code></p>
<p>This will overwrite the changes you made to the file during my tutorial.</p>
<p>After this is done I&#8217;d suggest you try the tutorial from the beginning. Make sure you have Xcode installed first though and that you read and understand each step; I&#8217;ve seen people try to skip steps before but this really isn&#8217;t something you can just skim through.</p>
<p>You can make sure <code>sudo cp /etc/php.ini.default php.ini</code> worked by typing this command into Terminal:<br />
<code>locate php.ini</code></p>
<p>If the command returns <code>/private/etc/php.ini</code> the earlier command worked.</p>
<p>And, <em>/Library/WebServer/Documents/</em> exists on a clean install of both Leopard and Tiger by default. If you can&#8217;t find the folder I&#8217;d suggest reinstalling your OS then following my directions or using something like <a href="http://www.macports.org/" rel="nofollow">MacPorts</a> to get Apache, PHP, and MySQL up and running on your machine.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bleep</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5760</link>
		<pubDate>Thu, 27 Mar 2008 23:00:11 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5760</guid>
					<description>thanks for the tutorial.

I tried on a clean Leopard install but I got some odd results.

I followed everything in your tutorial and I got the apache page appearing from localhost so it was partially successful.  However I cannot see sites in the folder I would expect (which is my Sites folder if I understand correctly) if I type localhost/~myUsername/mySite.  I am told that I do not have permission.

There were a few odd things about following your tutorial though:

Firstly I do not have a apache2/original folder. Should I have one by default?
Next typing 'sudo cp /etc/php.inidefault php.ini' did nothing from what I could tell.  Should I get a message when I type this?

Some of the other commands did open files in the terminal window, but they appeared to be empty, and did not go to the line specified.

I also did not seem to have a Library/WebServer/Documents folder.  Should this have been created automatically for me?

eek!</description>
		<content:encoded><![CDATA[<p>thanks for the tutorial.</p>
<p>I tried on a clean Leopard install but I got some odd results.</p>
<p>I followed everything in your tutorial and I got the apache page appearing from localhost so it was partially successful.  However I cannot see sites in the folder I would expect (which is my Sites folder if I understand correctly) if I type localhost/~myUsername/mySite.  I am told that I do not have permission.</p>
<p>There were a few odd things about following your tutorial though:</p>
<p>Firstly I do not have a apache2/original folder. Should I have one by default?<br />
Next typing &#8217;sudo cp /etc/php.inidefault php.ini&#8217; did nothing from what I could tell.  Should I get a message when I type this?</p>
<p>Some of the other commands did open files in the terminal window, but they appeared to be empty, and did not go to the line specified.</p>
<p>I also did not seem to have a Library/WebServer/Documents folder.  Should this have been created automatically for me?</p>
<p>eek!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Aatomik &#62; Artiklid &#187; Blog Archive &#187; PHP paigaldamine ja põhitõed</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5564</link>
		<pubDate>Fri, 07 Mar 2008 22:32:55 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5564</guid>
					<description>[...] How to setup Apache, PHP, &#38; MySQL on Mac OS X 10.5 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to setup Apache, PHP, &amp; MySQL on Mac OS X 10.5 [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ByteMob.net &#187; PHP paigaldamine ja põhitõed</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5378</link>
		<pubDate>Sat, 23 Feb 2008 16:19:57 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5378</guid>
					<description>[...] How to setup Apache, PHP, &#38; MySQL on Mac OS X 10.5 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to setup Apache, PHP, &amp; MySQL on Mac OS X 10.5 [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: PHP Blog @ ByteMob.net &#187; Tarkvara</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5214</link>
		<pubDate>Sun, 10 Feb 2008 20:45:16 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5214</guid>
					<description>[...] How to setup Apache, PHP, &#38; MySQL on Mac OS X 10.5    Kategooriad:  üldine Sildid: tarkvara, üldine [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to setup Apache, PHP, &amp; MySQL on Mac OS X 10.5    Kategooriad:  üldine Sildid: tarkvara, üldine [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Danilo Stern-Sapad</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5151</link>
		<pubDate>Wed, 06 Feb 2008 04:16:38 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5151</guid>
					<description>Hi Brook,

If you follow my directions exactly on a fresh install of Leopard everything should work properly.

However, if you insist on using TextWrangler you'll need to enter your administrator/root password every time it prompts you to when you try to save a file.  Also, before you try my directions again (using TextWrangler, nano, or otherwise) copy all the files from &lt;code&gt;/etc/apache2/original&lt;/code&gt; to the &lt;code&gt;/etc/apache2&lt;/code&gt; directory; this will overwrite the existing files that you've been editing.

If you don't have the patience or the time to get Apache, PHP, and MySQL running this way you could always try XAMPP for Mac OS X, but honestly I've never tried it myself and have little inkling as to how stable it is.  From what I hear it should be fairly easy to get setup though.  You should know I in no way endorse this product and their website even states that the Mac OS X "version of XAMPP is still in the first steps of development. Use at you own risk!"</description>
		<content:encoded><![CDATA[<p>Hi Brook,</p>
<p>If you follow my directions exactly on a fresh install of Leopard everything should work properly.</p>
<p>However, if you insist on using TextWrangler you&#8217;ll need to enter your administrator/root password every time it prompts you to when you try to save a file.  Also, before you try my directions again (using TextWrangler, nano, or otherwise) copy all the files from <code>/etc/apache2/original</code> to the <code>/etc/apache2</code> directory; this will overwrite the existing files that you&#8217;ve been editing.</p>
<p>If you don&#8217;t have the patience or the time to get Apache, PHP, and MySQL running this way you could always try XAMPP for Mac OS X, but honestly I&#8217;ve never tried it myself and have little inkling as to how stable it is.  From what I hear it should be fairly easy to get setup though.  You should know I in no way endorse this product and their website even states that the Mac OS X &#8220;version of XAMPP is still in the first steps of development. Use at you own risk!&#8221;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: BrookH</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5139</link>
		<pubDate>Tue, 05 Feb 2008 04:14:04 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5139</guid>
					<description>I am trying to get this to work, and it simply wont.  I am using textwrangler to edit files, as I am not versed in terminal and it does not seem to do anything but ask for a password and stop.

I just want php and apache to work with mysql so I can play with a website (self teaching myself)

I am only trying to play with Joomla.  I have edited so many files now I do not know how to get back to start.

Any ideas?

Well written article by the way!

Cheers,
Brook</description>
		<content:encoded><![CDATA[<p>I am trying to get this to work, and it simply wont.  I am using textwrangler to edit files, as I am not versed in terminal and it does not seem to do anything but ask for a password and stop.</p>
<p>I just want php and apache to work with mysql so I can play with a website (self teaching myself)</p>
<p>I am only trying to play with Joomla.  I have edited so many files now I do not know how to get back to start.</p>
<p>Any ideas?</p>
<p>Well written article by the way!</p>
<p>Cheers,<br />
Brook
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Danilo Stern-Sapad</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5031</link>
		<pubDate>Sat, 26 Jan 2008 15:11:51 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-5031</guid>
					<description>Sorry, I forgot you need to put sudo in front of that command that I tell you to use, since the shortname.conf file is owned by the root user.  The directions should be (I already corrected this in the blog entry):

&lt;p&gt;Go to the Terminal and type in everything except the &lt;strong&gt;bold&lt;/strong&gt; part unless you know what goes there, hit &lt;code&gt;tab&lt;/code&gt; to autocomplete the missing &lt;strong&gt;bold&lt;/strong&gt; part with your info before hitting return:&lt;br /&gt;
&lt;code&gt;sudo nano -w /etc/apache2/users/&lt;strong&gt;ariadoss.conf&lt;/strong&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You should now see something like this on line 1:&lt;br /&gt;
&lt;code&gt;&#60;directory "/Users/ariadoss/Sites/"&#62;&#60;/directory&#62;&lt;/code&gt;&lt;br /&gt;
Directly underneath line 1, you should change lines 2 and 3 to look like this:&lt;br /&gt;
&lt;code&gt;Options All&lt;br /&gt;
AllowOverride All&lt;/code&gt;&lt;br /&gt;
Close and save.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, I forgot you need to put sudo in front of that command that I tell you to use, since the shortname.conf file is owned by the root user.  The directions should be (I already corrected this in the blog entry):</p>
<p>Go to the Terminal and type in everything except the <strong>bold</strong> part unless you know what goes there, hit <code>tab</code> to autocomplete the missing <strong>bold</strong> part with your info before hitting return:<br />
<code>sudo nano -w /etc/apache2/users/<strong>ariadoss.conf</strong></code></p>
<p>You should now see something like this on line 1:<br />
<code>&lt;directory "/Users/ariadoss/Sites/"&gt;&lt;/directory&gt;</code><br />
Directly underneath line 1, you should change lines 2 and 3 to look like this:<br />
<code>Options All<br />
AllowOverride All</code><br />
Close and save.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Michael</title>
		<link>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-4971</link>
		<pubDate>Tue, 22 Jan 2008 05:12:57 +0000</pubDate>
		<guid>http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/#comment-4971</guid>
					<description>Under the apache section:


You should now see something like this on line 1:

Directly underneath line 1, you should change lines 2 and 3 to look like this:
Options All
AllowOverride All
Close and save.

I try to save the file but I'm getting a "Permission denied" when I'm trying to overwrite the old file name with itself, with the updated changes.</description>
		<content:encoded><![CDATA[<p>Under the apache section:</p>
<p>You should now see something like this on line 1:</p>
<p>Directly underneath line 1, you should change lines 2 and 3 to look like this:<br />
Options All<br />
AllowOverride All<br />
Close and save.</p>
<p>I try to save the file but I&#8217;m getting a &#8220;Permission denied&#8221; when I&#8217;m trying to overwrite the old file name with itself, with the updated changes.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
