{"id":458,"date":"2008-08-23T11:47:05","date_gmt":"2008-08-23T11:47:05","guid":{"rendered":"https:\/\/virtualchaos.co.uk\/blog\/?p=458"},"modified":"2008-08-23T11:50:21","modified_gmt":"2008-08-23T11:50:21","slug":"installing-php5-apache2-using-macports-on-leopard","status":"publish","type":"post","link":"https:\/\/virtualchaos.co.uk\/blog\/2008\/08\/23\/installing-php5-apache2-using-macports-on-leopard\/","title":{"rendered":"Installing PHP5 +apache2 using Macports on Leopard"},"content":{"rendered":"<p>\nI have had all sorts of fun and games trying to get php5 and apache2 installed on Leopard using macports. Six months ago I eventually gave up after lodging a <a href=\"http:\/\/trac.macports.org\/ticket\/13953\">ticket<\/a> with macports.org no matter how hard I tried or what advise I followed it simply wouldn&#8217;t install. In the end my colleague <a href=\"http:\/\/www.astilla.co.uk\">Andrew<\/a> tar&#8217;ed up his <code>\/opt<\/code> folder and I copied that onto my machine and did a chown to my username\/group and had a working php5 and apache2 install.\n<\/p>\n<p>\nI had some problems yesterday getting yaz installed on ubuntu and decided to follow some instructions that Andrew gave me to install it on Leopard instead. I decided to bite the bullet and attempt to do a pure PHP5 apache2 install under macports again, and then use port to install php-yaz. Suffice to say that I ran into similar problems to those I encountered six months ago.\n<\/p>\n<p>\nHowever after persevering I managed to get it all installed what follows is a summary of how I got it to work, in case anyone else out there ( and judging by the board posts that&#8217;s lots of you) is still struggling, or waiting for Macports 1.7.0 to be released.\n<\/p>\n<div class=\"dean_ch\" style=\"white-space: wrap;\">\n<ol>\n<li class=\"li1\">\n<div class=\"de1\">&nbsp;<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<p>Once it is done follow the original instructions <a href=\"http:\/\/samuraicoder.net\/installing_php_and_mysql_leopard_macports_prealpha\">here<\/a>. <\/p>\n<p>\nThis is so convoluted!! I hope the Macports folks sort this out. Even the ticket I raised didn&#8217;t specify the steps I took as a fix, and I basically stumbled onto them through trial and error. If anyone has a better explanation for why this worked then please let me know. Otherwise I hope it helps anyone else experiencing the same difficulties.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have had all sorts of fun and games trying to get php5 and apache2 installed on Leopard using macports. Six months ago I eventually gave up after lodging a ticket with macports.org no matter how hard I tried or &hellip; <a href=\"https:\/\/virtualchaos.co.uk\/blog\/2008\/08\/23\/installing-php5-apache2-using-macports-on-leopard\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[349,412,348,124,399],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-apache2","tag-mac","tag-macports","tag-php","tag-talis"],"_links":{"self":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":0,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"wp:attachment":[{"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtualchaos.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}