The installation notes for ming 0.3.0 say:
"Feb 2006: This module is for PHP4, not PHP5. Use the ming module that
comes with PHP5 if you are running PHP5."
This is a little confusing as the installation notes here don't explain how to do this with php5.