<?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>Rich Bui &#187; MAMP</title>
	<atom:link href="http://richbui.com/tag/mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://richbui.com</link>
	<description>Welcome to my website.</description>
	<lastBuildDate>Mon, 19 Sep 2011 15:23:49 +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>WordPress 2.6 and EXIF Extraction</title>
		<link>http://richbui.com/2008/08/02/wordpress-26-and-exif-extraction/</link>
		<comments>http://richbui.com/2008/08/02/wordpress-26-and-exif-extraction/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 07:08:21 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[AN Hosting]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Autica]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[EXIF]]></category>
		<category><![CDATA[IPTC]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MidPhase]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=943</guid>
		<description><![CDATA[I&#8217;ve been having this problem for a better part of almost two weeks now. I finally figured out the solution to the problem. With WordPress 2.6, one of the new built in features is the ability to extract EXIF data from a JPEG, store it in the database, and allow you to make a call [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having this problem for a better part of almost two weeks now. I finally figured out the solution to the problem. With WordPress 2.6, one of the new built in features is the ability to extract <a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format">EXIF</a> data from a JPEG, store it in the database, and allow you to make a call for it. This is to complement the new built in gallery feature that was introduced in WordPress 2.5.<span id="more-943"></span></p>
<div id="attachment_945" class="wp-caption alignright" style="width: 267px"><a href="http://bui4ever.com/files/2008/08/picture-2.png"><img class="size-medium wp-image-945" src="http://bui4ever.com/files/2008/08/picture-2.png" alt="MAMP stands for Mac, Apache, MySQL, and PHP. It's great software that let's you develop offline." width="257" height="79" /></a><p class="wp-caption-text">MAMP stands for Mac, Apache, MySQL, and PHP. It&#039;s great software that let&#039;s you develop offline.</p></div>
<p>My problem had been that no matter what images I would upload, the EXIF data was not being extracted. Interestingly enough, the <a href="http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council">IPTC</a> tags were. People kept telling me that maybe it was my images and the EXIF data didn&#8217;t exist in the images I was uploading. But that wasn&#8217;t the problem because I could upload it to Flickr and the EXIF would display fine. I also checked the EXIF in Photoshop CS3 and it was fine also. Couldn&#8217;t figure out the issue.</p>
<p>I had about given up on ever being able to display the EXIF data on my blog until today, I was making some design changes to this theme on <a href="http://bui4ever.com/macs/mamp">MAMP</a> and decided to just layout the look of the EXIF data just in case I figured out a solution one day and to my surprise, the EXIF data showed up!</p>
<div id="attachment_944" class="wp-caption alignleft" style="width: 448px"><a href="http://bui4ever.com/files/2008/08/picture-1.png"><img class="size-medium wp-image-944" src="http://bui4ever.com/files/2008/08/picture-1.png" alt="This is what you should see in your PHPInfo to know that the EXIF extension has loaded correctly." width="438" height="114" /></a><p class="wp-caption-text">This is what you should see in your PHPInfo to know that the EXIF extension has loaded correctly.</p></div>
<p>After a bit of digging, turns out that the PHP EXIF extension was not enabled on my VPS (virtual private server). The beauty of MAMP is that practically all the extensions are turned on and I was able to immediately see the problem.</p>
<p>Now enabling the EXIF extension on PHP takes a bit of work and the wonderful techs at my web host, <a href="http://autica.com">Autica</a> (a part of <a href="http://midphase.com">MidPhase</a> that is also part of <a href="http://anhosting.com">AN Hosting</a>), are currently working on getting it enabled for me. It sounds easy, but it&#8217;s complicated and easy to screw up if you&#8217;re not careful. You have to uncomment the line that executes the EXIF extension in your php.ini file and then recompile Apache. I think most people on shared hosting won&#8217;t have to worry about this, depending on host, it should be enabled and compiled. But if you notice that the EXIF data isn&#8217;t be extracted, then create a phpinfo file and run it on your web server to see if EXIF is installed. Now I have to go back and reupload all the images that I uploaded when the EXIF extension wasn&#8217;t active. Fortunately that only means some 9 albums as I hadn&#8217;t put up all the old and new albums just yet.</p>
<p>Also if you are interested in the code that is necessary to extract the EXIF, <a href="http://www.bloggingtips.com/2008/07/20/wordpress-gallery-and-exif/">please see this post by Sarah</a> as this was the first post I could find via Google that showed the code on how to do it.</p>
<p>[UPDATE 2008-08-02: My webhost has successfully enabled the EXIF extension! Apparently what was causing the delay was that the Apache version, for some reason, wouldn't recompile with <a href="http://eaccelerator.net/">eaccelerator</a>. So now Apache has been recompiled with EXIF but no eaccelerator until a partch by Apache comes out. Thanks Autica!] </p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/08/02/wordpress-26-and-exif-extraction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MAMP: Mac, Apache, MySQL, PHP</title>
		<link>http://richbui.com/2006/12/10/mamp/</link>
		<comments>http://richbui.com/2006/12/10/mamp/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 05:27:28 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Adobe Photoshop CS2]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=129</guid>
		<description><![CDATA[Introduction Before my friend introduced me to MAMP (Mac + Apache + MySQL + PHP), I wasn&#8217;t really able to do much web producing commuting to work. I was limited to making site mockups using Adobe Photoshop CS2 and some basic coding, but I couldn&#8217;t actually make the pages until I had internet connection so [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Before my friend introduced me to MAMP (Mac + Apache + MySQL + PHP), I wasn&#8217;t really able to do much web producing commuting to work. I was limited to making site mockups using Adobe Photoshop CS2 and some basic coding, but I couldn&#8217;t actually make the pages until I had internet connection so I could upload my test site to the sandbox.</p>
<p>Then came along MAMP, an all-in-one application for Mac OS X that allows you to locally host a web server! This was fantastic because now I can develop, hard code, check changes, and make all the changes I want without having an internet connection. It also lets me test run PHP codes or scripts that may be unstable and vulnerable without risking the web server.</p>
<h3>How To Install</h3>
<p>Installing and configuring MAMP is very, very easy.</p>
<ol>
<li><a href="http://www.mamp.info/en/index.php">Download the latest copy of MAMP</a> from the MAMP website. After it is done downloading, double click the downloaded file to unzip the contents.</li>
<li>Drag the MAMP folder into the Applications folder.<br />
<img class="inside-post-image" src="http://www.bui4ever.com/gallery2/g2data/albums/website/mamp/02-MAMP_install.jpg" alt="MAMP Install 02" /></li>
<li>Once MAMP has completed copying into the Applications folder, you can find the executable at Applications&gt;MAMP&gt;MAMP.<br />
<img class="inside-post-image" src="http://www.bui4ever.com/gallery2/g2data/albums/website/mamp/03-MAMP_install.jpg" alt="MAMP Install 03" /></li>
<li>When you start it up, you&#8217;ll notice two things will appear: (1) the MAMP admin panel and (2) http://localhost:8888/MAMP/?language=English loaded into your default web browser.</li>
<li>From the admin panel you can stop and start the Apache and MySQL servers.<br />
<img class="inside-post-image" src="http://www.bui4ever.com/gallery2/g2data/albums/website/mamp/04-MAMP_install.jpg" alt="MAMP Install 04" /></li>
<li>Your default web url is http://localhost:8888/ and your public folder is located (by default) at Applications&gt;MAMP&gt;htdocs. So anything that is placed within the htdocs folder will appear at http://localhost:8888/. Please note that this web address is local only and others will not be able to see it or the contents even if your computer is connected to the internet. I&#8217;ve seen where some people have mistakingly thought that MAMP can be used as a live web server. No, this was only designed to allow people to work locally.</li>
<li>To change the default location of what folder will be the web folder, in MAMP, go to the menu bar and select Preferences and then select the Apache tab. Enter or select a new location.<br />
<img class="inside-post-image" src="http://www.bui4ever.com/gallery2/g2data/albums/website/mamp/05-MAMP_install.jpg" alt="MAMP Install 05" /></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2006/12/10/mamp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

