I went ahead and fixed bug #121815, which required dropping the ~mips keyword as dev-lang/php is not keyworded yet. Please re-add the keyword once dev-lang/php is ready.
Closing as WONTFIX. No PHP on MIPS is supported atm.