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 18.104.22.168-22.214.171.124 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 126.96.36.199-188.8.131.52 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.