1#!/bin/sh 2 3if [ z"$1" = z ]; then 4 srcdir=. 5else 6 srcdir=$1 7fi 8 9mkdir -p tmp/modules 10cp $srcdir/* tmp 11cp `php-config --extension-dir`/*.so tmp/modules 12cd tmp 13phpize 14./configure --with-ming 15make 16#make install 17