{"id":106,"date":"2004-03-23T17:44:06","date_gmt":"2004-03-23T22:44:06","guid":{"rendered":"http:\/\/jthurber.com\/blog\/?p=106"},"modified":"2004-03-23T17:44:06","modified_gmt":"2004-03-23T22:44:06","slug":"resting-on-the-backs-of-others-php5-osx","status":"publish","type":"post","link":"https:\/\/jthurber.com\/blog\/?p=106","title":{"rendered":"Resting on the backs of others &#8211; PHP5 &#038; OSX"},"content":{"rendered":"<p>A few months ago I tried to start working with PHP5 on OSX.  Followed the directions I was able find on Google (which were none too assuring as most of them ended with &#8220;so that didn&#8217;t work, anyone have any advice&#8221;) and gave up after several hours of mucking around.<\/p>\n<p>Approximately an hour ago I downloaded the php5 source code, built it and installed it.  Well, I shouldn&#8217;t take any credit, basically I followed the directions <a href=\"http:\/\/laughingmeme.org\/archives\/001787.html\">here<\/a> exactly (I helped that I&#8217;d recently done a complete upgrade of Fink, so I had libxml2).<\/p>\n<p>I cleaned up my httpd.conf file so that it wasn&#8217;t trying to run both PHP4 and PHP5 (&#8217;cause it can&#8217;t&#8230; at least not without some horrible hackery), and ran phpinfo().  It worked, I was running PHP5.  PHPMyAdmin still worked, but <a href=\"http:\/\/www.alexking.org\/index.php?content=software\/tasks\/content.php\">Tasks<\/a> doesn&#8217;t yet support PHP5.  It&#8217;s a measure of how much I&#8217;ve been using Tasks recently that I then spent 20 minutes figuring out (googling actually) how to run PHP4 and PHP5 simultaneously.  Again, it&#8217;s a simple as following the directions <a href=\"http:\/\/www.schlitt.info\/applications\/blog\/archives\/83_How_to_run_PHP4_and_PHP_5_prallel.html\"> at How to run PHP4 and PHP5 prallel<\/a> (sic).<\/p>\n<p>Now I&#8217;ve got two running instances of Apache, one listening to port 80 and one to 8080.  I really like it when things just work!<\/p>\n<p>Edited on 8:48pm &#8211; Corrected the two mistakes relating to Tasks, namely the link was wrong and I meant PHP5, not PHP4 (which didn&#8217;t make much sense in context).  One of the rare times when I got distracted mid-post and failed to re-read.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months ago I tried to start working with PHP5 on OSX. Followed the directions I was able find on Google (which were none too assuring as most of them ended with &#8220;so that didn&#8217;t work, anyone have any advice&#8221;) and gave up after several hours of mucking around. Approximately an hour ago I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=106"}],"version-history":[{"count":0,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}