Ubuntu install Swoole and Mac install Swoole extensions

Source: Internet
Author: User

Ubuntu PHP installation Swoole Easier

1. Download the source code from git

2. Download Pcre http://sourceforge.net/projects/pcre/files/pcre/8.36/

./configure

Make &make Install

3. Enter Swoole source code

Phpize

./cofigure

Make &make Install

Edit php.ini Add extension = swoole.so

Restart Apache in effect

Mac installation Swoole

My Mac is installing XAMPP.

http://blog.csdn.net/olivor/article/details/47829393

http://blog.csdn.net/rsp19801226/article/details/44590803

sudo brew install autoconfcd swoole

phpize 
注意xampp 需要执行 /Applications/XAMPP/bin/phpize./configure
xampp 请执行
./configure --with-php-config=/Applications/XAMPP/bin/php-config
make sudo make install



Ubuntu install Swoole and Mac install Swoole extensions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.