export path for composer post-install-cmd

Whenever composer run a post-install-cmd, they couldn't found php (because php binary doesn't appear in any PATH entries), so I have added PATH to php and LD_LIBRARY_PATH (for mcrypt extention).