linux KVM虚拟化技术实战与原理解析pdf下载
hahadeMacBook-Air:wget https://github.com/swoole/swoole-src/archive/v1.9.16.zip
hahadeMacBook-Air:unzip v1.9.16.zip
hahadeMacBook-Air:cd swoole-src-1.9.16/
hahadeMacBook-Air:/Applications/xampp/xamppfiles/bin/phpsize
hahadeMacBook-Air: ./configure --with-php-config=/Applications/xampp/xamppfiles/bin/php-config
hahadeMacBook-Air:make install
hahadeMacBook-Air:chmod -R 777 /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/
hahadeMacBook-Air:make install
sudo vi /Applications/XAMPP/xamppfiles/etc/php.ini
然后修改php.ini(增加:extension=swoole.so),重启xampp服务就可以了。
转载请注明:谷谷点程序 » mac中xampp安装swoole的方法