rearranged phpinfo about php-osx a little bit.
only run git diff, when perl script succeeded