<?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"
	>
<channel>
	<title>Comments on: CakePHP on OSX: Problem using Bake.php script</title>
	<atom:link href="http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/</link>
	<description>The private home of Sibel, Deniz, Lisa and Max</description>
	<pubDate>Thu, 20 Nov 2008 22:49:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: tim</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-300</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Mon, 01 Sep 2008 02:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-300</guid>
		<description>If yopu are using xampp rather than mamp (or the Apple webserver), the only required change  is

export PATH=/Applications/xampp/xamppfiles/bin:$PATH

If you place that line in your .profile, you will always call php scripts (like cake) using the xampp php installation instead of the Apple one.</description>
		<content:encoded><![CDATA[<p>If yopu are using xampp rather than mamp (or the Apple webserver), the only required change  is</p>
<p>export PATH=/Applications/xampp/xamppfiles/bin:$PATH</p>
<p>If you place that line in your .profile, you will always call php scripts (like cake) using the xampp php installation instead of the Apple one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-297</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Tue, 10 Jun 2008 04:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-297</guid>
		<description>Thanks TM!!</description>
		<content:encoded><![CDATA[<p>Thanks TM!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: milkshake</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-295</link>
		<dc:creator>milkshake</dc:creator>
		<pubDate>Thu, 05 Jun 2008 15:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-295</guid>
		<description>Thanks thomas :)</description>
		<content:encoded><![CDATA[<p>Thanks thomas <img src='http://dlmax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-291</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Sat, 10 May 2008 17:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-291</guid>
		<description>Hi all,

the problem is that cake uses php as command interpreter, therefore if you call "php" from the console you will use the default /bin/php
Because I have MAMP, the solution was to set the path to use the php interpreter provided:
you just have to "reverse" the path order:
export PATH=/Applications/MAMP/bin/php5/bin:$PATH</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>the problem is that cake uses php as command interpreter, therefore if you call &#8220;php&#8221; from the console you will use the default /bin/php<br />
Because I have MAMP, the solution was to set the path to use the php interpreter provided:<br />
you just have to &#8220;reverse&#8221; the path order:<br />
export PATH=/Applications/MAMP/bin/php5/bin:$PATH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz Zwierzchon</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-283</link>
		<dc:creator>Tomasz Zwierzchon</dc:creator>
		<pubDate>Sun, 30 Sep 2007 12:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-283</guid>
		<description>Hi.

Another (better) solution (assuming you are in scripts directory of a Cake):

* for php5
$ ../../../../bin/php5/bin/php bake.php 

* for php4
../../../../bin/php4/bin/php bake.php

Works perfectly.</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>Another (better) solution (assuming you are in scripts directory of a Cake):</p>
<p>* for php5<br />
$ ../../../../bin/php5/bin/php bake.php </p>
<p>* for php4<br />
../../../../bin/php4/bin/php bake.php</p>
<p>Works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tm</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-282</link>
		<dc:creator>tm</dc:creator>
		<pubDate>Thu, 27 Sep 2007 22:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-282</guid>
		<description>A temporary dirty fix for MAMP and the latest SVN build:

sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock</description>
		<content:encoded><![CDATA[<p>A temporary dirty fix for MAMP and the latest SVN build:</p>
<p>sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Pan</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-279</link>
		<dc:creator>Brian Pan</dc:creator>
		<pubDate>Sat, 08 Sep 2007 21:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-279</guid>
		<description>I had the same problem.  Thanks for the post!</description>
		<content:encoded><![CDATA[<p>I had the same problem.  Thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-277</link>
		<dc:creator>max</dc:creator>
		<pubDate>Wed, 04 Jul 2007 18:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-277</guid>
		<description>Hi Junior Baker,

Thanks for giving the fix for others that use the MAMP install.... 
The fix I provided was only for the stand-alone MySQL installations.</description>
		<content:encoded><![CDATA[<p>Hi Junior Baker,</p>
<p>Thanks for giving the fix for others that use the MAMP install&#8230;.<br />
The fix I provided was only for the stand-alone MySQL installations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Junior baker</title>
		<link>http://dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-274</link>
		<dc:creator>Junior baker</dc:creator>
		<pubDate>Tue, 03 Jul 2007 08:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dlmax.org/2007/05/08/cakephp-on-osx-problem-using-bakephp-script/#comment-274</guid>
		<description>Tried that, but it didn't remove the issue for me :(

I'm using 1.2.0.5146alpha version with MAMP. CakePHP is able to connect to the database otherwise.

I have edited the /etc/my.cnf file as follows:

[mysqld]
socket=/Applications/MAMP/tmp/mysql/mysql.sock

That solved the baking issues with the stable version of cake. Can't figure out what the problem is with 1.2. though...</description>
		<content:encoded><![CDATA[<p>Tried that, but it didn&#8217;t remove the issue for me <img src='http://dlmax.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I&#8217;m using 1.2.0.5146alpha version with MAMP. CakePHP is able to connect to the database otherwise.</p>
<p>I have edited the /etc/my.cnf file as follows:</p>
<p>[mysqld]<br />
socket=/Applications/MAMP/tmp/mysql/mysql.sock</p>
<p>That solved the baking issues with the stable version of cake. Can&#8217;t figure out what the problem is with 1.2. though&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
