Magento is continuing to advance its platform and make development more efficient by adding support for PHP 5.4. Moving to PHP 5.4 offers several advantages, including better performance, more efficient memory usage, and access to ongoing updates and security fixes.
To ensure that you can take advantage of these valuable updates faster, the Magento team released patches for Magento Enterprise Edition 126.96.36.199 and later releases and for Magento Community Edition 188.8.131.52 and later releases. Support for PHP 5.4 will also be built in to future Magento product releases.
The Magento Enterprise Edition patches are posted in the Support Patches section of My Account and the Magento Community Edition patches are available on the Community Edition download page. More information on applying patches is available in the Magento Knowledge Base.
If you are using our US Web Hosting services, you can use PHP 5.4 by going to your cPanel –> Select PHP Version.