<?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>Starry Hope &#187; PHP</title>
	<atom:link href="http://www.starryhope.com/category/web-authoring/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.starryhope.com</link>
	<description></description>
	<lastBuildDate>Tue, 01 Jun 2010 12:11:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/</link>
		<comments>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comments</comments>
		<pubDate>Tue, 28 Feb 2006 09:17:21 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Authoring]]></category>

		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/</guid>
		<description><![CDATA[I had to reinstall my computer the other day, it&#8217;s needed it for a while (mostly because I&#8217;ve installed every stupid program I could get my hands on for the last 6 months).  I haven&#8217;t wanted to reinstall because I had a &#8220;working&#8221; install of Rails and I remembered how hard it was to [...]


Related posts:<ol><li><a href='http://www.starryhope.com/articles/2005/locomotive-for-rails/' rel='bookmark' title='Permanent Link: Locomotive For Rails'>Locomotive For Rails</a></li>
<li><a href='http://www.starryhope.com/articles/2005/radrails-the-ruby-on-rails-ide/' rel='bookmark' title='Permanent Link: RadRails, A Ruby on Rails IDE'>RadRails, A Ruby on Rails IDE</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2005/diving-into-ruby-on-rails/' rel='bookmark' title='Permanent Link: Diving into Ruby on Rails'>Diving into Ruby on Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had to reinstall my computer the other day, it&#8217;s needed it for a while (mostly because I&#8217;ve installed every stupid program I could get my hands on for the last 6 months).  I haven&#8217;t wanted to reinstall because I had a &#8220;working&#8221; install of <a href="http://www.rubyonrails.com/">Rails</a> and I remembered how hard it was to install last time.</p>
<p>After reinstalling OS X 10.4.5, I started looking for some good instructions on installing Rails.  A <a href="http://www.google.com/search?q=%22os+x%22+tiger+install+rails">google search</a> will quickly find about 15 different &#8220;suggestions&#8221;.  Many people suggest using Fink or Darwinports &#8230; others have different ways of doing.</p>
<p>Then, I found somewhere on the Rails site, a link to <a href="http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger">these instructions by Dan Benjamin</a>.  Finally, instructions for installing Rails on OS X that don&#8217;t suck!  Sure, you have to compile most of the apps yourself, but in the end, you get a solid Rails, Lighttpd, MySQL install that should be safe from OS upgrades and the likes.  Besides that, you get to learn something along the way.</p>
<p>Following <a href="http://hivelogic.com/articles/2005/11/29/using_usr_local">Dan&#8217;s suggestion</a>, I also wanted to find a way to install Apache 2 and PHP 5 into /usr/local/.  I searched around a bit and found a <a href="http://www.phpmac.com/articles.php?view=237">tutorial by James Pelow</a> over at <a href="http://www.phpmac.com/">phpmac.com</a>.  I used his instructions as a base for installing Apache 2 and PHP 5.  I made sure to download the newest versions of software (the ones he listed are a bit old) and also make sure to install everything in /usr/local/  &#8212; works like a charm!</p>
<p>So, now I have a working Apache2/PHP5/MySQL/SQLite setup and also a working Rails/Lighttpd/MySQL setup on the same mac (mini) &#8230; and for once, I actually have the feeling that I understand what I&#8217;ve done and why it works.</p>


<p>Related posts:<ol><li><a href='http://www.starryhope.com/articles/2005/locomotive-for-rails/' rel='bookmark' title='Permanent Link: Locomotive For Rails'>Locomotive For Rails</a></li>
<li><a href='http://www.starryhope.com/articles/2005/radrails-the-ruby-on-rails-ide/' rel='bookmark' title='Permanent Link: RadRails, A Ruby on Rails IDE'>RadRails, A Ruby on Rails IDE</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2005/diving-into-ruby-on-rails/' rel='bookmark' title='Permanent Link: Diving into Ruby on Rails'>Diving into Ruby on Rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Why I Want To Learn PHP</title>
		<link>http://www.starryhope.com/web-authoring/2004/why-i-want-to-learn-php/</link>
		<comments>http://www.starryhope.com/web-authoring/2004/why-i-want-to-learn-php/#comments</comments>
		<pubDate>Tue, 17 Aug 2004 05:52:11 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Authoring]]></category>

		<guid isPermaLink="false">http://starryhope.local/uncategorized/2004/why-i-want-to-learn-php/</guid>
		<description><![CDATA[For those of you who know me, and know my past work on the web, the idea of me learning PHP may shock you. Why would I do such a thing? I&#8217;ve always preferred ASP to PHP and spent a good chunk of last year learning ASP.NET and VB.NET! I just finished building a website [...]


Related posts:<ol><li><a href='http://www.starryhope.com/web-authoring/2004/php-5-the-easy-way/' rel='bookmark' title='Permanent Link: PHP 5 &#8211; The Easy Way'>PHP 5 &#8211; The Easy Way</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2006/apache2-mod-deflate/' rel='bookmark' title='Permanent Link: Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate'>Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2005/web-debugging-and-throttling-tool/' rel='bookmark' title='Permanent Link: Web Debugging and Throttling Tool'>Web Debugging and Throttling Tool</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;">For those of you who know me, and know my past work on the web, the idea of me learning PHP may shock you. Why would I do such a thing? I&#8217;ve always preferred ASP to PHP and spent a good chunk of last year learning ASP.NET and VB.NET! I just finished building a website that uses ASP.NET exclusively. I may have even spent some time trying to convince you to learn ASP.NET. Well, while I&#8217;m not about to throw ASP.NET out the window anytime soon, but I do plan to do my next few projects in PHP &#8230; here are a few reasons why:</p>
<p style="margin-bottom: 0in;">Reason number 1: MONEY.</p>
<p style="margin-bottom: 0in;">I&#8217;ve spent the last 8 months working at a non-profit organization (need I say more?). At this organization we have a certain number of computers and software licenses. New computers, or money for new software is nowhere in the foreseeable future. To run ASP.NET, you need a Windows server license and a pretty modern computer to run it on. What do I have available? Well, I think that old Pentium I in the corner will work just fine &#8211; install Linux, Apache, PHP and mySQL and it&#8217;ll be good to go. No new hardware costs, and no new software costs either (all open-source and freely downloadable).</p>
<p style="margin-bottom: 0in;">Reason number 2: STABILITY.</p>
<p style="margin-bottom: 0in;">At above mentioned non-profit organization, we have a Windows 2000 Server. It controls pretty much our whole network and is considered the most important computer in the building. It&#8217;s also a broken piece of junk! Every time I turn on the monitor, the thing has a whole screen full of errors. Whole sections of the OS don&#8217;t work properly anymore and it&#8217;s barely alive at all. We&#8217;re currently working on moving the network to a new main server, but MS didn&#8217;t exactly make that process easy &#8230; so we&#8217;re about to go insane.</p>
<p style="margin-bottom: 0in;">While messing with this (and many other) Windows problem, I suddenly realized something. You know, we have another very important server in the office, it handles all of our Internet access, logging, firewall, mail server, and a few other tasks. This server sits there and runs day after day without needing any attention. Who knows when the last time was that we actually turned the monitor on? It just works! And guess what, it doesn&#8217;t run Windows! Nope, this baby runs FreeBSD, a free (imagine that) UNIX-like operating system similar to Linux. Then I remembered that I used to rent a Linux server where I hosted about 50 domain names for my hosting company. This computer had a whole whopping 16MB of RAM and a pretty slow processor &#8230; and it ran Linux. I had the server for over 2 years and only rebooted it about 3 times, and only once because I needed to. Starting to see a pattern? Why on earth did I ever start programing on a MS platform? What was I thinking?</p>
<p style="margin-bottom: 0in;">Reason number 3: AVAILABILITY.</p>
<p style="margin-bottom: 0in;">This one is pretty simple. ASP.NET runs on Microsoft Windows Servers with IIS 4 or 5 and the .NET Framework. PHP can run pretty much ANYWHERE. It can run on Linux, FreeBSD, Solaris, Mac OS X, many other forms of ??Unix? and, get this, even on Windows! Why should I waste my time developing my skills in languages that tie me to a (not so great) OS?</p>


<p>Related posts:<ol><li><a href='http://www.starryhope.com/web-authoring/2004/php-5-the-easy-way/' rel='bookmark' title='Permanent Link: PHP 5 &#8211; The Easy Way'>PHP 5 &#8211; The Easy Way</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2006/apache2-mod-deflate/' rel='bookmark' title='Permanent Link: Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate'>Save Bandwidth and Speed Up Your Site With Apache 2 and mod_deflate</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2005/web-debugging-and-throttling-tool/' rel='bookmark' title='Permanent Link: Web Debugging and Throttling Tool'>Web Debugging and Throttling Tool</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.starryhope.com/web-authoring/2004/why-i-want-to-learn-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5 &#8211; The Easy Way</title>
		<link>http://www.starryhope.com/web-authoring/2004/php-5-the-easy-way/</link>
		<comments>http://www.starryhope.com/web-authoring/2004/php-5-the-easy-way/#comments</comments>
		<pubDate>Thu, 22 Jul 2004 05:25:01 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Authoring]]></category>

		<guid isPermaLink="false">http://starryhope.local/uncategorized/2004/php-5-the-easy-way/</guid>
		<description><![CDATA[As you probably know, PHP 5.0 was just released a few days ago.  I&#8217;ve been keeping an eye on this new PHP release because it looks like the community has made some great improvements.  The main things that interest me are a new object-oriented model (it&#8217;s about time!), better xml support (again, about [...]


Related posts:<ol><li><a href='http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/' rel='bookmark' title='Permanent Link: Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)'>Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2004/why-i-want-to-learn-php/' rel='bookmark' title='Permanent Link: Why I Want To Learn PHP'>Why I Want To Learn PHP</a></li>
<li><a href='http://www.starryhope.com/articles/2005/locomotive-for-rails/' rel='bookmark' title='Permanent Link: Locomotive For Rails'>Locomotive For Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As you probably know, <a href="http://www.php.net">PHP 5.0</a> was just released a few days ago.  I&#8217;ve been keeping an eye on this new PHP release because it looks like the community has made some great improvements.  The main things that interest me are a new object-oriented model (it&#8217;s about time!), better xml support (again, about time!) and a built-in database program (sqlite).  I&#8217;ve quite honestly become attached to asp.net, mostly because of it&#8217;s completely smooth object-oriented approach to things that lets me separate my code from my html &#8230; so hopefully the new version of PHP will make life easier on PHP users.  Anyway, if there was ever a time to learn PHP, it&#8217;s now.  </p>
<p> So, now what?  You need to install PHP and mySQL (and maybe Apache too) &#8230; but what a pain! Well, the guys over at <a href="http://www.en.wampserver.com">Wampserver</a> have a solution that will help you get your testing server up and running in no time.  It&#8217;s called Wampserver and it installs and configures Apache, PHP 5, mySQL, and PHPmyadmin all with one speedy installer!  Besides that, it gives you a nifty little tray application to help control and configure all those apps.  I had it up and running on my Windows 2000 testing server in about 3 minutes.  Thanks Wampserver!  Now all I have to do is actually learn PHP 5 :-) </p>


<p>Related posts:<ol><li><a href='http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/' rel='bookmark' title='Permanent Link: Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)'>Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)</a></li>
<li><a href='http://www.starryhope.com/web-authoring/2004/why-i-want-to-learn-php/' rel='bookmark' title='Permanent Link: Why I Want To Learn PHP'>Why I Want To Learn PHP</a></li>
<li><a href='http://www.starryhope.com/articles/2005/locomotive-for-rails/' rel='bookmark' title='Permanent Link: Locomotive For Rails'>Locomotive For Rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.starryhope.com/web-authoring/2004/php-5-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
