php的chinapay扩展安装
cp ~/chinapay/netpayclient.h /usr/local/include/chinapay.h cp ~/chinapay/libnpc.so /usr/local/lib/libchinapay.so chmod +x /usr/local/lib/libchinapay.so可能是在/lib(/lib64) /usr/lib下面
./ext_skel --extname=chinapay --proto=chinapay.def生成php扩展的chinapay文件夹
cp php_chinapay.h chinapay/ cp chinapay.c chinapay/ cp netpayclient.h chinapay/