After some struggling I managed to upgrade optware PHP package to v5.6.0. Here're pre-compiled packages for mbwe-bluering feed, which (I think) can be used with tomato-arm routers:
https://www.mediafire.com/folder/bm6ug45h970wp//mbwe-bluering
Note that php-gd extension requires libgd 2.1.0, so I had to upgrade it as well. If you need this extension, you'll have to install the upgraded version as well. No idea whether it will cause conflict for other packages that depend on libgd,...
optware PHP 5.6.0. Cross-compiled for arm
https://www.mediafire.com/folder/bm6ug45h970wp//mbwe-bluering
Note that php-gd extension requires libgd 2.1.0, so I had to upgrade it as well. If you need this extension, you'll have to install the upgraded version as well. No idea whether it will cause conflict for other packages that depend on libgd,...
optware PHP 5.6.0. Cross-compiled for arm