php extension automatic deploy in mac(windows)

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

/Applications/XAMPP/xamppfiles/bin/phpize
sudo MACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" CXXFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch i386 -arch x86_64 -bind_at_load" ./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config
sudo make
sudo make test
/Applications/XAMPP/xamppfiles/bin/php -dextension=modules/mickel.so -m
/Applications/XAMPP/xamppfiles/bin/php -dextension=modules/mickel.so -f a.php