{"id":1864,"date":"2014-01-21T11:25:07","date_gmt":"2014-01-21T18:25:07","guid":{"rendered":"http:\/\/www.whitefirdesign.com\/blog\/?p=1864"},"modified":"2014-01-22T09:28:02","modified_gmt":"2014-01-22T16:28:02","slug":"magento-releases-php-5-4-patches-for-magento-1-6-0-0-1-8-1-0","status":"publish","type":"post","link":"https:\/\/www.whitefirdesign.com\/blog\/2014\/01\/21\/magento-releases-php-5-4-patches-for-magento-1-6-0-0-1-8-1-0\/","title":{"rendered":"Magento Releases PHP 5.4 Patches for Magento 1.6.0.0-1.8.1.0"},"content":{"rendered":"<p>Last month we <a title=\"Using Magento with PHP 5.4 and 5.5\" href=\"http:\/\/www.whitefirdesign.com\/blog\/2013\/12\/10\/using-magento-with-php-5-4-and-5-5\/\">discussed<\/a> Magento&#8217;s lack of official support for PHP 5.4 despite the fact that web hosts had been making the move to at least that version and questions raised by that. Magento has now released patches to make Magento 1.6.0.0-1.8.1.0 compatible with PHP 5.4.\u00a0 You can get the patches on the <a href=\"http:\/\/www.magentocommerce.com\/download\">Magento Download page<\/a> in the Magento Community Edition Patches section of the page.<\/p>\n<p>All of the patches modify the following files:<br \/>\n\/app\/code\/core\/Mage\/Catalog\/Model\/Product.php<br \/>\n\/app\/code\/core\/Mage\/Core\/Controller\/Varien\/Router\/Standard.php<\/p>\n<p>All of the patches except for the one 1.8.0.0-1.8.1.0 modify:<br \/>\n\/app\/code\/core\/Mage\/Install\/etc\/config.xml app\/code\/core\/Mage\/Install\/etc\/config.xml<\/p>\n<p>A new file is added at:<br \/>\n\/app\/code\/core\/Zend\/Pdf\/FileParserDataSource.php<\/p>\n<p>In our previous <a title=\"Using Magento with PHP 5.4 and 5.5\" href=\"http:\/\/www.whitefirdesign.com\/blog\/2013\/12\/10\/using-magento-with-php-5-4-and-5-5\/\">post<\/a> we mentioned that we still found that Magento 1.3 would work with PHP 5.4, so older versions can still could probably be used, though you could run into an issue.<\/p>\n<p>For those who can&#8217;t use the patches <del>we will be putting out a set of patched files, as we do with the <a href=\"http:\/\/www.whitefirdesign.com\/resources\/magento-security-patches.html\">Magento security patches<\/a>, soon<\/del> you can use the <a href=\"http:\/\/www.whitefirdesign.com\/resources\/magento-php-54-patches.html\">patched files<\/a> we have put together.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last month we discussed Magento&#8217;s lack of official support for PHP 5.4 despite the fact that web hosts had been making the move to at least that version and questions raised by that. Magento has now released patches to make Magento 1.6.0.0-1.8.1.0 compatible with PHP 5.4.\u00a0 You can get the patches on the Magento Download &hellip; <a href=\"https:\/\/www.whitefirdesign.com\/blog\/2014\/01\/21\/magento-releases-php-5-4-patches-for-magento-1-6-0-0-1-8-1-0\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento Releases PHP 5.4 Patches for Magento 1.6.0.0-1.8.1.0&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1864","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/posts\/1864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/comments?post=1864"}],"version-history":[{"count":4,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/posts\/1864\/revisions"}],"predecessor-version":[{"id":1871,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/posts\/1864\/revisions\/1871"}],"wp:attachment":[{"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/media?parent=1864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/categories?post=1864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whitefirdesign.com\/blog\/wp-json\/wp\/v2\/tags?post=1864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}