Not answering your question but curious: are you looking for a standalone PHP5, or rather one included in lighttpd, or even apache?
If you do a search at layers.openembedded.org for a PHP recipe, there are a few options. see below.
You would then need to build this into the existing Yocto system. That's left as an exercise for the user (8-).