Shark Deng

Interactive Designer @Shanju Design in Shanghai

touched caffe / mxnet / python / wordpress / bootstrap / Arduino / Raspberry Pi / webgl / three.js / PIXI / 3dMax

Email

Github

Mac 命令行批处理.sh

2019-11-14 04:23:18

功能:快速编译自定义php扩展,把cm.sh放在php源码ext/[你的拓展]/下

使用:命令行输入  ./cm.sh


cm.sh

echo "------compile php module------"
echo "------created by Shark ------"
echo "------if prompts 'permisition denied'------"
echo "------chmod +x cm.sh will solve------"

sudo phpize
./configure
make
make install

 



——By SharkDeng
如果你喜欢我的文章,欢迎红包赞赏

Leave a Reply

Your email address will not be published. Required fields are marked *