Last month we discussed Magento’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 220.127.116.11-18.104.22.168 compatible with PHP 5.4. You can get the patches on the Magento Download page in the Magento Community Edition Patches section of the page.
All of the patches modify the following files:
All of the patches except for the one 22.214.171.124-126.96.36.199 modify:
A new file is added at:
In our previous post 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.