{"id":7229,"date":"2014-10-21T20:23:33","date_gmt":"2014-10-21T19:23:33","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=7229"},"modified":"2014-11-10T10:15:10","modified_gmt":"2014-11-10T09:15:10","slug":"os-x-10-10-yosemite-update-breaks-php-in-apache-localhost","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2014\/10\/os-x-10-10-yosemite-update-breaks-php-in-apache-localhost\/","title":{"rendered":"OS X 10.10 Yosemite update breaks PHP in Apache localhost"},"content":{"rendered":"<p>Unfortunately the recent system upgrade overwrites all your local web server installation. As the Apache versionnow \u00a0also increased to 2.4 in Yosemite, it is \u00a0not a good idea to get your\u00a0former http.conf from the backup.<br \/>\n<a href=\"https:\/\/www.computersnyou.com\/3376\/setup-apache-php-mysql-macosx-10-10-yosemite\/\">computersnyou.com<\/a> nicely explains the repair procedure but this still did not work for me\u00a0as there is another configuration change necessary.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n# needs to be uncommented\r\nLoadModule php5_module libexec\/apache2\/libphp5.so\r\n# needs to be added\r\n&lt;IfModule mime_module&gt;\r\n  AddType application\/x-httpd-php .php\r\n..\r\n<\/pre>\n<p>I am still struggling with the GD graphics library. It looks\u00a0enabled from phpinfo() while ferrotype functions like imagettftext() are\u00a0still not working. But there is a solution at <a href=\"http:\/\/stackoverflow.com\/questions\/26493762\/yosemite-php-gd-installation\/26505558#26505558\">stack overflow<\/a><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\ncurl -s http:\/\/php-osx.liip.ch\/install.sh | bash -s 5.6\r\n<\/pre>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 08.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>Unfortunately the recent system upgrade overwrites all your local web server installation. As the Apache versionnow \u00a0also increased to 2.4 in Yosemite, it is \u00a0not a good idea to get your\u00a0former http.conf from the backup. computersnyou.com nicely explains the repair procedure but this still did not work for me\u00a0as there is another configuration change necessary. &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2014\/10\/os-x-10-10-yosemite-update-breaks-php-in-apache-localhost\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OS X 10.10 Yosemite update breaks PHP in Apache localhost<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2899,2895,2896,2897,2898],"class_list":["post-7229","post","type-post","status-publish","format-standard","hentry","category-computer-software","tag-bugfix","tag-freetype","tag-gd","tag-php","tag-yosemite"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/7229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=7229"}],"version-history":[{"count":10,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/7229\/revisions"}],"predecessor-version":[{"id":7287,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/7229\/revisions\/7287"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=7229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=7229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=7229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}