Improvements to php recipes