Mac – Upgrading to PHP 5.4 using Mac Port

macportsPHPupgrade

I tried following the excellent instructions on this gist to upgrade my Mac to PHP 5.4, but before I do, I need to know:

Is there an easy way to find out which php extensions do I have installed currently? I'd like to have the same list for 5.4.
I tried port list | grep php53- but got way too many responses…

Best Answer

To show installed php extensions from port, try port installed | grep php53- or instead of port list.