Improvements to mysql and php, onbuild for pypy