<?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: Setting up a Web Server on Leopard (OS X 10.5) and Snow Leopard (10.6) Using MAMP &#8211; A Step by Step Guide (Revised)</title>
	<atom:link href="http://stringfoo.com/2007/11/07/mamp-setup-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/</link>
	<description>Tips, Tools, Tutorials and Resources for Advanced Web Development</description>
	<lastBuildDate>Thu, 18 Feb 2010 16:43:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jondear.myopenid.com/</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-316</link>
		<dc:creator>jondear.myopenid.com/</dc:creator>
		<pubDate>Fri, 12 Dec 2008 15:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-316</guid>
		<description>Just made a little headway.

When PHPMyAdmin is launched from MAMP Pro&#039;s Launch PHPMyAdmin button, which uses this URL
http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/?lang=en-iso-8859-1&amp;language=English

...or from its browser menu selection 
http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English

In each case I get the error:
Error: MySQL said: #2002 - The server is not responding (or the local MySQL server&#039;s socket is not correctly configured) 

But when I click Start on the browser window&#039;s menu link,
http://localhost:8888/MAMP/index.php?language=English

the Webstart&#039;s Welcome to MAMP window comes up and says everything is working, and I can access MySQL when PHPMyAdmin is launched from the link further down the page:
http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F  which is
http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/  (without the html entities)

...then it opens MySQL without a problem. (Navicat can also login to MySQL and all the DBs inc Drupal with no problem)

So maybe its a problem to do with the &quot;lang=en-iso-8859-1&quot; addition? I now recall that I&#039;ve had this problem before, but never resolved the cause.

When I look into MAMP Pro&#039;s File/Edit Template/PHP5 php.ini option for editing php.ini, there is a section which reads:

; PHP&#039;s built-in default is text/html
default_mimetype = &quot;text/html&quot;
;default_charset = &quot;iso-8859-1&quot;

Should I uncomment the iso-8859-1 option?</description>
		<content:encoded><![CDATA[<p>Just made a little headway.</p>
<p>When PHPMyAdmin is launched from MAMP Pro&#8217;s Launch PHPMyAdmin button, which uses this URL<br />
<a href="http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/?lang=en-iso-8859-1&amp;language=English" rel="nofollow">http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/?lang=en-iso-8859-1&amp;language=English</a></p>
<p>&#8230;or from its browser menu selection<br />
<a href="http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English" rel="nofollow">http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English</a></p>
<p>In each case I get the error:<br />
Error: MySQL said: #2002 &#8211; The server is not responding (or the local MySQL server&#8217;s socket is not correctly configured) </p>
<p>But when I click Start on the browser window&#8217;s menu link,<br />
<a href="http://localhost:8888/MAMP/index.php?language=English" rel="nofollow">http://localhost:8888/MAMP/index.php?language=English</a></p>
<p>the Webstart&#8217;s Welcome to MAMP window comes up and says everything is working, and I can access MySQL when PHPMyAdmin is launched from the link further down the page:<br />
<a href="http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F" rel="nofollow">http://localhost:8888/MAMP/frame.php?src=%2FphpMyAdmin%2F</a>  which is<br />
<a href="http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/" rel="nofollow">http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/</a>  (without the html entities)</p>
<p>&#8230;then it opens MySQL without a problem. (Navicat can also login to MySQL and all the DBs inc Drupal with no problem)</p>
<p>So maybe its a problem to do with the &#8220;lang=en-iso-8859-1&#8243; addition? I now recall that I&#8217;ve had this problem before, but never resolved the cause.</p>
<p>When I look into MAMP Pro&#8217;s File/Edit Template/PHP5 php.ini option for editing php.ini, there is a section which reads:</p>
<p>; PHP&#8217;s built-in default is text/html<br />
default_mimetype = &#8220;text/html&#8221;<br />
;default_charset = &#8220;iso-8859-1&#8243;</p>
<p>Should I uncomment the iso-8859-1 option?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jondear.myopenid.com/</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-315</link>
		<dc:creator>jondear.myopenid.com/</dc:creator>
		<pubDate>Fri, 12 Dec 2008 14:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-315</guid>
		<description>Hi, I have MAMP, MAMP Pro, running on Tiger on a G4, and have been running Joomla and Drupal 5 and 6 with varying degrees of success. The main recurring problem is in connection with a 2002 error, connecting to MySQL.sock, 
&quot;MySQL said: #2002 - The server is not responding (or the local MySQL server&#039;s socket is not correctly configured)&quot;
which I thought was permissions related, and which I have fixed previously by allowing read write permissions on /Applications/MAMP/tmp/mysql/mysql.sock.
Today this has stopped working. I&#039;m currently running Drupal 6, and have successfully upgraded previously from 6.6 to 6.7 without a hitch, and last night from 6.7 to 6.8, again successfully. Until last night I could access MySQL via PHPMyAdmin on the local mac, or via Navicat from another mac on the local network, with no problems.
This morning on booting the mac, the 2002 error returned.
I&#039;ve followed your other links to the stringfoo.com site, but couldn&#039;t find anything there which helped. Any suggestions I could follow? Help!</description>
		<content:encoded><![CDATA[<p>Hi, I have MAMP, MAMP Pro, running on Tiger on a G4, and have been running Joomla and Drupal 5 and 6 with varying degrees of success. The main recurring problem is in connection with a 2002 error, connecting to MySQL.sock,<br />
&#8220;MySQL said: #2002 &#8211; The server is not responding (or the local MySQL server&#8217;s socket is not correctly configured)&#8221;<br />
which I thought was permissions related, and which I have fixed previously by allowing read write permissions on /Applications/MAMP/tmp/mysql/mysql.sock.<br />
Today this has stopped working. I&#8217;m currently running Drupal 6, and have successfully upgraded previously from 6.6 to 6.7 without a hitch, and last night from 6.7 to 6.8, again successfully. Until last night I could access MySQL via PHPMyAdmin on the local mac, or via Navicat from another mac on the local network, with no problems.<br />
This morning on booting the mac, the 2002 error returned.<br />
I&#8217;ve followed your other links to the stringfoo.com site, but couldn&#8217;t find anything there which helped. Any suggestions I could follow? Help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstringer</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-274</link>
		<dc:creator>sstringer</dc:creator>
		<pubDate>Mon, 05 May 2008 13:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-274</guid>
		<description>@veekter - good news.  Glad you&#039;re up &amp; running.</description>
		<content:encoded><![CDATA[<p>@veekter &#8211; good news.  Glad you&#8217;re up &#038; running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veekter</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-271</link>
		<dc:creator>veekter</dc:creator>
		<pubDate>Wed, 30 Apr 2008 15:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-271</guid>
		<description>Actually I managed to get it working, a reboot of the system seemed to help things along.

So you can probably ignore my comments now.</description>
		<content:encoded><![CDATA[<p>Actually I managed to get it working, a reboot of the system seemed to help things along.</p>
<p>So you can probably ignore my comments now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veekter</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-270</link>
		<dc:creator>veekter</dc:creator>
		<pubDate>Wed, 30 Apr 2008 14:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-270</guid>
		<description>Hi I&#039;m not sure what&#039;s wrong but I can&#039;t start the servers when I change the apache port to 80 and mysql to 3306 (step 7).

Any ideas?

I had installed xampp previously so could that be affecting it? I&#039;ve removed the xampp installation by doing rm -rf /Applications/xampp, is there anything else I need to do?

I&#039;ve also checked the web sharing and that&#039;s turned off.</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m not sure what&#8217;s wrong but I can&#8217;t start the servers when I change the apache port to 80 and mysql to 3306 (step 7).</p>
<p>Any ideas?</p>
<p>I had installed xampp previously so could that be affecting it? I&#8217;ve removed the xampp installation by doing rm -rf /Applications/xampp, is there anything else I need to do?</p>
<p>I&#8217;ve also checked the web sharing and that&#8217;s turned off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sfstreet</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-202</link>
		<dc:creator>sfstreet</dc:creator>
		<pubDate>Fri, 01 Feb 2008 03:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-202</guid>
		<description>Someone I got stucked here.

I installed MAMP using my OSX Leopard. Added the Directives above and OK went well.

First, I backed up my mysql db

While I tried to restore my mysql, I tried to use the mysql Administrator, however, seems it does not recognize the username/ password the MAMP has setup root, root.
Its giving me an error can not connect rhru socket &#039;/tmp/mysql.sock&#039;(2) (code 202)
However, using phpmyadim, from MAMP, there is no problem.

Am I using a completely separate Apache, PHP and Mysql? I hope so.  or, is it still pointing to the original one I installed previously prior to MAMP. I did not make any changes to the php.ini. There was nothing that says I have to.

So, I went to phpmyadmin and tried to change the password fo rmysql. Now, after I changed it, I can not get in at all, from phpmyadmin or mysql admin.

help..[;s/</description>
		<content:encoded><![CDATA[<p>Someone I got stucked here.</p>
<p>I installed MAMP using my OSX Leopard. Added the Directives above and OK went well.</p>
<p>First, I backed up my mysql db</p>
<p>While I tried to restore my mysql, I tried to use the mysql Administrator, however, seems it does not recognize the username/ password the MAMP has setup root, root.<br />
Its giving me an error can not connect rhru socket &#8216;/tmp/mysql.sock&#8217;(2) (code 202)<br />
However, using phpmyadim, from MAMP, there is no problem.</p>
<p>Am I using a completely separate Apache, PHP and Mysql? I hope so.  or, is it still pointing to the original one I installed previously prior to MAMP. I did not make any changes to the php.ini. There was nothing that says I have to.</p>
<p>So, I went to phpmyadmin and tried to change the password fo rmysql. Now, after I changed it, I can not get in at all, from phpmyadmin or mysql admin.</p>
<p>help..[;s/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstringer</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-197</link>
		<dc:creator>sstringer</dc:creator>
		<pubDate>Fri, 25 Jan 2008 23:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-197</guid>
		<description>@astromac

You may very well be right about the ease of using a standard account.  And I agree about the fact that MAMP is not the best solution.  It is, however, a good stop-gap until Marc Lyneage&#039;s PHP package is updated and we can run PHP naturally on Leopard with a broad set of lib support.</description>
		<content:encoded><![CDATA[<p>@astromac</p>
<p>You may very well be right about the ease of using a standard account.  And I agree about the fact that MAMP is not the best solution.  It is, however, a good stop-gap until Marc Lyneage&#8217;s PHP package is updated and we can run PHP naturally on Leopard with a broad set of lib support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astromac</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-196</link>
		<dc:creator>astromac</dc:creator>
		<pubDate>Fri, 25 Jan 2008 21:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-196</guid>
		<description>@sstringer
&gt;&gt;As a practical matter, it‚Äôs difficult (if not impossible) to do web development on a machine without admin privileges

I think many developer types do just fine with a standard account and actually prefer using the standard account (we tend to best practices seriously.)

I&#039;ve been using XAMPP  for web development and using a standard account was never an issue. Using a standard account for Xcode isn&#039;t a problem either so I&#039;m not sure your statement holds water.

Not being able to run using a standard account really is a shortcoming of MAMP Pro that needs to be addressed. Particularly when MAMP Pro is pay-for software. That&#039;s not to say I don&#039;t like MAMP Pro or that I don&#039;t think it&#039;s nicer than XAMPP but requiring an admin account to run is kinda bush league.</description>
		<content:encoded><![CDATA[<p>@sstringer<br />
&gt;&gt;As a practical matter, it‚Äôs difficult (if not impossible) to do web development on a machine without admin privileges</p>
<p>I think many developer types do just fine with a standard account and actually prefer using the standard account (we tend to best practices seriously.)</p>
<p>I&#8217;ve been using XAMPP  for web development and using a standard account was never an issue. Using a standard account for Xcode isn&#8217;t a problem either so I&#8217;m not sure your statement holds water.</p>
<p>Not being able to run using a standard account really is a shortcoming of MAMP Pro that needs to be addressed. Particularly when MAMP Pro is pay-for software. That&#8217;s not to say I don&#8217;t like MAMP Pro or that I don&#8217;t think it&#8217;s nicer than XAMPP but requiring an admin account to run is kinda bush league.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstringer</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-185</link>
		<dc:creator>sstringer</dc:creator>
		<pubDate>Tue, 15 Jan 2008 14:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-185</guid>
		<description>@ jsahiri
MAMP uses a slightly older apache configuration file format where all the vhosts info is contained down at the bottom of the main httpd.conf file, not in an external file.</description>
		<content:encoded><![CDATA[<p>@ jsahiri<br />
MAMP uses a slightly older apache configuration file format where all the vhosts info is contained down at the bottom of the main httpd.conf file, not in an external file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jsahiri</title>
		<link>http://stringfoo.com/2007/11/07/mamp-setup-leopard/comment-page-1/#comment-181</link>
		<dc:creator>jsahiri</dc:creator>
		<pubDate>Tue, 15 Jan 2008 00:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://stringfoo.com/2007/11/07/setting-up-a-web-server-on-leopard-os-x-105-using-mamp-a-step-by-step-guide/#comment-181</guid>
		<description>Hi,
Excellent presentation again. Just noticed that there is no httpd-vhosts.config in &quot;/Applications/MAMP/conf/apache/httpd-vhosts.conf. I have the normal httpd.config. Thus can&#039;t add virtual domains. Shall I have copied one from the apache incorporated in Leopard or just created the file myself?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Excellent presentation again. Just noticed that there is no httpd-vhosts.config in &#8220;/Applications/MAMP/conf/apache/httpd-vhosts.conf. I have the normal httpd.config. Thus can&#8217;t add virtual domains. Shall I have copied one from the apache incorporated in Leopard or just created the file myself?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
