php安装swoole扩展的方法

本文实例讲述了php安装swoole扩展的方法。分享给大家供大家参考。具体如下:

我本机是OS X,想要安装swoole体验一下,于是:

代码如下:

andy@AndyMacBookPro:/usr/local/webdata/github$ cd swoole-src/
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ git pull
Already up-to-date.
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-apple-darwin13.4.0
checking host system type... i386-apple-darwin13.4.0
checking target system type... i386-apple-darwin13.4.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable swoole debug... no
checking enable sockets support... no
checking enable ringbuffer shared memory pool support... no
checking enable async_mysql support... no
checking enable openssl support... no
checking swoole support... yes, shared
checking swoole support... yes, shared
checking if compiling with clang... yes
checking for cpu affinity... no
checking for ext/mysqli support... yes
checking for ext/mysqlnd support... yes
checking for accept4 in -lc... no
checking for signalfd in -lc... no
checking for timerfd_create in -lc... no
checking for eventfd in -lc... no
checking for epoll_create in -lc... no
checking for sendfile in -lc... yes
./configure: line 4740: PGSQL_INCLUDE: command not found
checking for kqueue in -lc... yes
checking for daemon in -lc... yes
checking for mkostemp in -lc... no
checking for pthread_rwlock_init in -lpthread... yes
checking for pthread_spin_lock in -lpthread... no
checking for pthread_mutex_timedlock in -lpthread... no
checking for SSL_library_init in -lssl... yes
checking for clock_gettime in -lc... no
checking for aio_read in -lc... yes
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ make
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole.c -o swoole.lo
mkdir .libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole.c  -fno-common -DPIC -o .libs/swoole.o
In file included from /usr/local/webdata/github/swoole-src/swoole.c:19:
In file included from ./php_swoole.h:31:
In file included from /usr/include/php/ext/spl/spl_iterators.h:27:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not
      found
#include "pcre.h"
         ^
1 error generated.
make: *** [swoole.lo] Error 1
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$

到这里的时候报了一个pcre.h的报错,所以安装一下pcre.h。

好吧,其实不是没有安装pcre,我的本地 php -m已经安装了pcre了。这个错误是这样的:

代码如下:

/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not
      found
#include "pcre.h"

查看php_pcre.h中的第29行:

代码如下:

#include "pcre.h"

是这里没有找到pcre.h,那么问题是我们的操作系统环境中没有安装pcre开发包,我们就安装一下好了。

有好几种方式,可以使用brew install的方式也可以到http://www.pcre.org获取源码自己编译:

brew install这种不说了,直接brew install pcre就可以了。

另一种自己编译的方式:http://www.pcre.org这里有两个版本,pcre和pcre2,swoole应该需要的是pcre吧,直接:

代码如下:

svn co svn://vcs.exim.org/pcre/code/trunk pcre

然后,好吧,下载的源码中没有./configure,估计要自己写,所以我又改主意了,使用brew install:

代码如下:

andy@AndyMacBookPro:/usr/local/src/pcre$ brew install pcre
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pcre-8.35.
######################################################################## 100.0%
==> Pouring pcre-8.35.mavericks.bottle.tar.gz
/usr/local/Cellar/pcre/8.35: 146 files, 5.8M

现在寻找本机的pcre.h是这样的:

代码如下:

andy@AndyMacBookPro:/usr/include/php/ext/pcre$ sudo find / -name pcre.h
Password:
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Users/andy/Downloads/php-5.4.30/ext/pcre/pcrelib/pcre.h
/usr/local/Cellar/pcre/8.35/include/pcre.h
/usr/local/Cellar/php54/5.4.30/include/php/ext/pcre/pcrelib/pcre.h
/usr/local/include/pcre.h
andy@AndyMacBookPro:/usr/include/php/ext/pcre$

之后编译,成功,但是有几个warning,数了数是6个:

代码如下:

andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ make
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole.c -o swoole.lo
mkdir .libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole.c  -fno-common -DPIC -o .libs/swoole.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_server.c -o swoole_server.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_server.c  -fno-common -DPIC -o .libs/swoole_server.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_lock.c -o swoole_lock.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_lock.c  -fno-common -DPIC -o .libs/swoole_lock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_client.c -o swoole_client.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_client.c  -fno-common -DPIC -o .libs/swoole_client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_event.c -o swoole_event.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_event.c  -fno-common -DPIC -o .libs/swoole_event.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_timer.c -o swoole_timer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_timer.c  -fno-common -DPIC -o .libs/swoole_timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_async.c -o swoole_async.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_async.c  -fno-common -DPIC -o .libs/swoole_async.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_process.c -o swoole_process.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_process.c  -fno-common -DPIC -o .libs/swoole_process.o
/usr/local/webdata/github/swoole-src/swoole_process.c:622:17: warning: 'daemon' is deprecated: first deprecated in OS X
      10.5 [-Wdeprecated-declarations]
    RETURN_BOOL(daemon(nochdir, noclose) == 0);
                ^
/usr/include/php/Zend/zend_API.h:626:43: note: expanded from macro 'RETURN_BOOL'
#define RETURN_BOOL(b)                                  { RETVAL_BOOL(b); return; }
                                                                      ^
/usr/include/php/Zend/zend_API.h:614:52: note: expanded from macro 'RETVAL_BOOL'
#define RETVAL_BOOL(b)                                  ZVAL_BOOL(return_value, b)
                                                                                ^
/usr/include/php/Zend/zend_API.h:550:21: note: expanded from macro 'ZVAL_BOOL'
                Z_LVAL_P(__z) = ((b) != 0);     \
                                  ^
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked deprecated here
int      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_...
         ^
1 warning generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_buffer.c -o swoole_buffer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_buffer.c  -fno-common -DPIC -o .libs/swoole_buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_table.c -o swoole_table.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_table.c  -fno-common -DPIC -o .libs/swoole_table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_http.c -o swoole_http.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_http.c  -fno-common -DPIC -o .libs/swoole_http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_websocket.c -o swoole_websocket.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_websocket.c  -fno-common -DPIC -o .libs/swoole_websocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/base.c -o src/core/base.lo
mkdir src/core/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/base.c  -fno-common -DPIC -o src/core/.libs/base.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/log.c -o src/core/log.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/log.c  -fno-common -DPIC -o src/core/.libs/log.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/hashmap.c -o src/core/hashmap.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/hashmap.c  -fno-common -DPIC -o src/core/.libs/hashmap.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/RingQueue.c -o src/core/RingQueue.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/RingQueue.c  -fno-common -DPIC -o src/core/.libs/RingQueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/Channel.c -o src/core/Channel.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/Channel.c  -fno-common -DPIC -o src/core/.libs/Channel.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/string.c -o src/core/string.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/string.c  -fno-common -DPIC -o src/core/.libs/string.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/array.c -o src/core/array.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/array.c  -fno-common -DPIC -o src/core/.libs/array.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/socket.c -o src/core/socket.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/socket.c  -fno-common -DPIC -o src/core/.libs/socket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/ShareMemory.c -o src/memory/ShareMemory.lo
mkdir src/memory/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/ShareMemory.c  -fno-common -DPIC -o src/memory/.libs/ShareMemory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/MemoryGlobal.c -o src/memory/MemoryGlobal.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/MemoryGlobal.c  -fno-common -DPIC -o src/memory/.libs/MemoryGlobal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/RingBuffer.c -o src/memory/RingBuffer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/RingBuffer.c  -fno-common -DPIC -o src/memory/.libs/RingBuffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/FixedPool.c -o src/memory/FixedPool.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/FixedPool.c  -fno-common -DPIC -o src/memory/.libs/FixedPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/Malloc.c -o src/memory/Malloc.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/Malloc.c  -fno-common -DPIC -o src/memory/.libs/Malloc.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/Table.c -o src/memory/Table.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/Table.c  -fno-common -DPIC -o src/memory/.libs/Table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/Buffer.c -o src/memory/Buffer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/Buffer.c  -fno-common -DPIC -o src/memory/.libs/Buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/Factory.c -o src/factory/Factory.lo
mkdir src/factory/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/Factory.c  -fno-common -DPIC -o src/factory/.libs/Factory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/FactoryThread.c -o src/factory/FactoryThread.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/FactoryThread.c  -fno-common -DPIC -o src/factory/.libs/FactoryThread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/FactoryProcess.c -o src/factory/FactoryProcess.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/FactoryProcess.c  -fno-common -DPIC -o src/factory/.libs/FactoryProcess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorBase.c -o src/reactor/ReactorBase.lo
mkdir src/reactor/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorBase.c  -fno-common -DPIC -o src/reactor/.libs/ReactorBase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorSelect.c -o src/reactor/ReactorSelect.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorSelect.c  -fno-common -DPIC -o src/reactor/.libs/ReactorSelect.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorPoll.c -o src/reactor/ReactorPoll.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorPoll.c  -fno-common -DPIC -o src/reactor/.libs/ReactorPoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorEpoll.c -o src/reactor/ReactorEpoll.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorEpoll.c  -fno-common -DPIC -o src/reactor/.libs/ReactorEpoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorKqueue.c -o src/reactor/ReactorKqueue.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/ReactorKqueue.c  -fno-common -DPIC -o src/reactor/.libs/ReactorKqueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/PipeBase.c -o src/pipe/PipeBase.lo
mkdir src/pipe/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/PipeBase.c  -fno-common -DPIC -o src/pipe/.libs/PipeBase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/PipeEventfd.c -o src/pipe/PipeEventfd.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/PipeEventfd.c  -fno-common -DPIC -o src/pipe/.libs/PipeEventfd.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/PipeUnsock.c -o src/pipe/PipeUnsock.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/PipeUnsock.c  -fno-common -DPIC -o src/pipe/.libs/PipeUnsock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/queue/Msg.c -o src/queue/Msg.lo
mkdir src/queue/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/queue/Msg.c  -fno-common -DPIC -o src/queue/.libs/Msg.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/Semaphore.c -o src/lock/Semaphore.lo
mkdir src/lock/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/Semaphore.c  -fno-common -DPIC -o src/lock/.libs/Semaphore.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/Mutex.c -o src/lock/Mutex.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/Mutex.c  -fno-common -DPIC -o src/lock/.libs/Mutex.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/RWLock.c -o src/lock/RWLock.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/RWLock.c  -fno-common -DPIC -o src/lock/.libs/RWLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/SpinLock.c -o src/lock/SpinLock.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/SpinLock.c  -fno-common -DPIC -o src/lock/.libs/SpinLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/FileLock.c -o src/lock/FileLock.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/FileLock.c  -fno-common -DPIC -o src/lock/.libs/FileLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/Server.c -o src/network/Server.lo
mkdir src/network/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/Server.c  -fno-common -DPIC -o src/network/.libs/Server.o
/usr/local/webdata/github/swoole-src/src/network/Server.c:452:7: warning: 'daemon' is deprecated: first deprecated in OS
      X 10.5 [-Wdeprecated-declarations]
                if (daemon(0, 1) < 0)
                    ^
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked deprecated here
int      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_...
         ^
1 warning generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/TaskWorker.c -o src/network/TaskWorker.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/TaskWorker.c  -fno-common -DPIC -o src/network/.libs/TaskWorker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/Client.c -o src/network/Client.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/Client.c  -fno-common -DPIC -o src/network/.libs/Client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/Connection.c -o src/network/Connection.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/Connection.c  -fno-common -DPIC -o src/network/.libs/Connection.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/ProcessPool.c -o src/network/ProcessPool.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/ProcessPool.c  -fno-common -DPIC -o src/network/.libs/ProcessPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/ThreadPool.c -o src/network/ThreadPool.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/ThreadPool.c  -fno-common -DPIC -o src/network/.libs/ThreadPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/ReactorThread.c -o src/network/ReactorThread.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/ReactorThread.c  -fno-common -DPIC -o src/network/.libs/ReactorThread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/ReactorProcess.c -o src/network/ReactorProcess.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/ReactorProcess.c  -fno-common -DPIC -o src/network/.libs/ReactorProcess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/Worker.c -o src/network/Worker.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/Worker.c  -fno-common -DPIC -o src/network/.libs/Worker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/EventTimer.c -o src/network/EventTimer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/EventTimer.c  -fno-common -DPIC -o src/network/.libs/EventTimer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/base.c -o src/os/base.lo
mkdir src/os/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/base.c  -fno-common -DPIC -o src/os/.libs/base.o
/usr/local/webdata/github/swoole-src/src/os/base.c:77:51: warning: format specifies type 'long' but the argument has
      type 'off_t' (aka 'long long') [-Wformat]
                        (aio_event == SW_AIO_READ) ? "READ" : "WRITE", aio_event->offset, (uint64_t) aio_event->nbytes);
                                                                       ^~~~~~~~~~~~~~~~~
/usr/local/webdata/github/swoole-src/src/os/base.c:77:70: warning: format specifies type 'unsigned long' but the
      argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
                        (aio_event == SW_AIO_READ) ? "READ" : "WRITE", aio_event->offset, (uint64_t) aio_event->nbytes);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/linux_aio.c -o src/os/linux_aio.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/linux_aio.c  -fno-common -DPIC -o src/os/.libs/linux_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/gcc_aio.c -o src/os/gcc_aio.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/gcc_aio.c  -fno-common -DPIC -o src/os/.libs/gcc_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/sendfile.c -o src/os/sendfile.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/sendfile.c  -fno-common -DPIC -o src/os/.libs/sendfile.o
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:41:44: warning: incompatible pointer types passing 'size_t *'
      (aka 'unsigned long *') to parameter of type 'off_t *' (aka 'long long *') [-Wincompatible-pointer-types]
    ret = sendfile(in_fd, out_fd, *offset, &size, &hdtr, 0);
                                           ^~~~~
/usr/include/sys/socket.h:580:38: note: passing argument to parameter here
int     sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
                                         ^
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:49:15: warning: variable 'sent_bytes' is uninitialized when used
      here [-Wuninitialized]
                        *offset += sent_bytes;
                                   ^~~~~~~~~~
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:25:18: note: initialize the variable 'sent_bytes' to silence this
      warning
        off_t sent_bytes;
                        ^
                         = 0
2 warnings generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/signal.c -o src/os/signal.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/signal.c  -fno-common -DPIC -o src/os/.libs/signal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/timer.c -o src/os/timer.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/timer.c  -fno-common -DPIC -o src/os/.libs/timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/SSL.c -o src/protocol/SSL.lo
mkdir src/protocol/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/SSL.c  -fno-common -DPIC -o src/protocol/.libs/SSL.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/Http.c -o src/protocol/Http.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/Http.c  -fno-common -DPIC -o src/protocol/.libs/Http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/WebSocket.c -o src/protocol/WebSocket.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/WebSocket.c  -fno-common -DPIC -o src/protocol/.libs/WebSocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/Mqtt.c -o src/protocol/Mqtt.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/Mqtt.c  -fno-common -DPIC -o src/protocol/.libs/Mqtt.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/Base64.c -o src/protocol/Base64.lo
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/Base64.c  -fno-common -DPIC -o src/protocol/.libs/Base64.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/thirdparty/php_http_parser.c -o thirdparty/php_http_parser.lo
mkdir thirdparty/.libs
 cc -I. -I/usr/local/webdata/github/swoole-src -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/thirdparty/php_http_parser.c  -fno-common -DPIC -o thirdparty/.libs/php_http_parser.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/local/webdata/github/swoole-src/include -I/usr/local/webdata/github/swoole-src/main -I/usr/local/webdata/github/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/webdata/github/swoole-src/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2 -std=gnu89  -lpthread -o swoole.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/webdata/github/swoole-src/modules  swoole.lo swoole_server.lo swoole_lock.lo swoole_client.lo swoole_event.lo swoole_timer.lo swoole_async.lo swoole_process.lo swoole_buffer.lo swoole_table.lo swoole_http.lo swoole_websocket.lo src/core/base.lo src/core/log.lo src/core/hashmap.lo src/core/RingQueue.lo src/core/Channel.lo src/core/string.lo src/core/array.lo src/core/socket.lo src/memory/ShareMemory.lo src/memory/MemoryGlobal.lo src/memory/RingBuffer.lo src/memory/FixedPool.lo src/memory/Malloc.lo src/memory/Table.lo src/memory/Buffer.lo src/factory/Factory.lo src/factory/FactoryThread.lo src/factory/FactoryProcess.lo src/reactor/ReactorBase.lo src/reactor/ReactorSelect.lo src/reactor/ReactorPoll.lo src/reactor/ReactorEpoll.lo src/reactor/ReactorKqueue.lo src/pipe/PipeBase.lo src/pipe/PipeEventfd.lo src/pipe/PipeUnsock.lo src/queue/Msg.lo src/lock/Semaphore.lo src/lock/Mutex.lo src/lock/RWLock.lo src/lock/SpinLock.lo src/lock/FileLock.lo src/network/Server.lo src/network/TaskWorker.lo src/network/Client.lo src/network/Connection.lo src/network/ProcessPool.lo src/network/ThreadPool.lo src/network/ReactorThread.lo src/network/ReactorProcess.lo src/network/Worker.lo src/network/EventTimer.lo src/os/base.lo src/os/linux_aio.lo src/os/gcc_aio.lo src/os/sendfile.lo src/os/signal.lo src/os/timer.lo src/protocol/SSL.lo src/protocol/Http.lo src/protocol/WebSocket.lo src/protocol/Mqtt.lo src/protocol/Base64.lo thirdparty/php_http_parser.lo
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/swoole.so -bundle  .libs/swoole.o .libs/swoole_server.o .libs/swoole_lock.o .libs/swoole_client.o .libs/swoole_event.o .libs/swoole_timer.o .libs/swoole_async.o .libs/swoole_process.o .libs/swoole_buffer.o .libs/swoole_table.o .libs/swoole_http.o .libs/swoole_websocket.o src/core/.libs/base.o src/core/.libs/log.o src/core/.libs/hashmap.o src/core/.libs/RingQueue.o src/core/.libs/Channel.o src/core/.libs/string.o src/core/.libs/array.o src/core/.libs/socket.o src/memory/.libs/ShareMemory.o src/memory/.libs/MemoryGlobal.o src/memory/.libs/RingBuffer.o src/memory/.libs/FixedPool.o src/memory/.libs/Malloc.o src/memory/.libs/Table.o src/memory/.libs/Buffer.o src/factory/.libs/Factory.o src/factory/.libs/FactoryThread.o src/factory/.libs/FactoryProcess.o src/reactor/.libs/ReactorBase.o src/reactor/.libs/ReactorSelect.o src/reactor/.libs/ReactorPoll.o src/reactor/.libs/ReactorEpoll.o src/reactor/.libs/ReactorKqueue.o src/pipe/.libs/PipeBase.o src/pipe/.libs/PipeEventfd.o src/pipe/.libs/PipeUnsock.o src/queue/.libs/Msg.o src/lock/.libs/Semaphore.o src/lock/.libs/Mutex.o src/lock/.libs/RWLock.o src/lock/.libs/SpinLock.o src/lock/.libs/FileLock.o src/network/.libs/Server.o src/network/.libs/TaskWorker.o src/network/.libs/Client.o src/network/.libs/Connection.o src/network/.libs/ProcessPool.o src/network/.libs/ThreadPool.o src/network/.libs/ReactorThread.o src/network/.libs/ReactorProcess.o src/network/.libs/Worker.o src/network/.libs/EventTimer.o src/os/.libs/base.o src/os/.libs/linux_aio.o src/os/.libs/gcc_aio.o src/os/.libs/sendfile.o src/os/.libs/signal.o src/os/.libs/timer.o src/protocol/.libs/SSL.o src/protocol/.libs/Http.o src/protocol/.libs/WebSocket.o src/protocol/.libs/Mqtt.o src/protocol/.libs/Base64.o thirdparty/.libs/php_http_parser.o  -lpthread  -pthread
clang: warning: argument unused during compilation: '-pthread'
dsymutil .libs/swoole.so || :
creating swoole.la
(cd .libs && rm -f swoole.la && ln -s ../swoole.la swoole.la)
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=install cp ./swoole.la /usr/local/webdata/github/swoole-src/modules
cp ./.libs/swoole.so /usr/local/webdata/github/swoole-src/modules/swoole.so
cp ./.libs/swoole.lai /usr/local/webdata/github/swoole-src/modules/swoole.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/webdata/github/swoole-src/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$

然后我们安装:

代码如下:

andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ make install
Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20100525/
cp: /usr/lib/php/extensions/no-debug-non-zts-20100525/#INST@21013#: Permission denied
make: *** [install-modules] Error 1
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$ sudo make install
Password:
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=install cp ./swoole.la /usr/local/webdata/github/swoole-src/modules
cp ./.libs/swoole.so /usr/local/webdata/github/swoole-src/modules/swoole.so
cp ./.libs/swoole.lai /usr/local/webdata/github/swoole-src/modules/swoole.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/webdata/github/swoole-src/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20100525/
andy@AndyMacBookPro:/usr/local/webdata/github/swoole-src$

安装成功。

可以查看一下这个目录:

代码如下:

andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ ll
total 2256
drwxr-xr-x  10 root  wheel     340  2 19 23:09 ./
drwxr-xr-x   3 root  wheel     102  1 20  2014 ../
-rwxr-xr-x   1 root  wheel   10496  2  6 14:58 andy.so*
-rwxr-xr-x   1 root  wheel  172732  7 23  2014 apc.so*
-rwxr-xr-x   1 root  wheel   51424  7  1  2014 mssql.so*
-rwxr-xr-x   1 root  wheel   26928  2 13 15:11 pcntl.so*
-rwxr-xr-x   1 root  wheel   30084  7  2  2014 pdo_odbc.so*
-rwxr-xr-x   1 root  wheel  255656  6 23  2014 redis.so*
-rwxr-xr-x   1 root  wheel  388312  2 19 23:09 swoole.so*
-rwxr-xr-x   1 root  wheel  200880  9 22 09:37 xdebug.so*
andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

可以看到这里已经有很多之前安装的扩展了,然后我们接下来只要把这一句添加进我们本地的php.ini文件就好了:

代码如下:

extension = swoole.so

如果不知道本机的php.ini在哪里,可以这样找:

代码如下:

andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File:         /etc/php.ini
Scan for additional .ini files in: /Library/Server/Web/Config/php
Additional .ini files parsed:      (none)
andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

可以看到我本地的php.ini的目录是/etc/php.ini

之后我们查看一下php -m如下:

代码如下:

andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ php -m
[PHP Modules]
andy
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
hash
iconv
json
ldap
libxml
mbstring
mssql
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_dblib
pdo_mysql
PDO_ODBC
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
swoole
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
Xdebug

andy@AndyMacBookPro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

看见了吧,swoole已经在我们的本地php扩展里了,下面就可以接着玩一下swoole了,这个以后再讲:-)。

ps.
后面补充一下,我刚刚在安装pcre扩展的时候选择的是brew安装,然后我是用svn拉取的代码,那样确实是无法安装的,除非你自己写configure文件,所以正确的应该是到sourceforge上去,到这个地址:

http://sourceforge.net/projects/pcre/files/pcre/8.36/

这下面都是release版本的,直接下载一个tar到本地,然后解压,目录中就直接包括了./configure文件,就可以安装了。

我们再简单说下:

代码如下:

andy@AndyMacBookPro:/usr/local/src$ wget http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
--2015-02-19 23:44:04--  http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download [following]
--2015-02-19 23:44:06--  http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download
Connecting to sourceforge.net|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=&ts=1424360645&use_mirror=jaist [following]
--2015-02-19 23:44:07--  http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=&ts=1424360645&use_mirror=jaist
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://jaist.dl.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz [following]
--2015-02-19 23:44:08--  http://jaist.dl.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz
Resolving jaist.dl.sourceforge.net... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourceforge.net|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2009464 (1.9M) [application/x-gzip]
Saving to: 'pcre-8.36.tar.gz'
100%[=====================================>] 2,009,464   59.3KB/s   in 27s
2015-02-19 23:44:38 (72.2 KB/s) - 'pcre-8.36.tar.gz' saved [2009464/2009464]
andy@AndyMacBookPro:/usr/local/src$

之后tar zxvf pcre-8.36.tar.gz:

代码如下:

andy@AndyMacBookPro:/usr/local/src$ ll
total 3928
drwxr-xr-x    6 andy  admin      204  2 19 23:45 ./
drwxrwxr-x   24 root  admin      816  2 19 22:47 ../
drwxr-xr-x  136 andy  admin     4624  2 19 22:51 pcre/
drwxr-xr-x  144 andy  admin     4896  9 26 17:23 pcre-8.36/
-rw-r--r--    1 andy  admin  2009464 10  1 16:44 pcre-8.36.tar.gz
drwxr-xr-x   35 andy  admin     1190  2 19 22:49 pcre2/
andy@AndyMacBookPro:/usr/local/src$

然后我们就可以进入目录pcre-8.36进行make && make install编译安装了~~。鉴于我们本地已经安装了一个8.35的版本,我们就不安装最新的8.36版本了,可能会有冲突吧。

希望本文所述对大家的php程序设计有所帮助。

(0)

相关推荐

  • PHP的swoole扩展安装方法详细教程

    Swoole支持PHP 5.3.10以上版本,所以安装Swoole之前请先安装PHP 5.3.10以上版本,现在来介绍Windows下PHP安装配置方法. 软件版本:php-5.3.1-Win32-VC6-x86.zip 这个不需要额外的安装.net的库,所以就用这个了.可以使用其他的. 1.PHP安装 使用绿色方式,下载Zip文件解压. 2.配置 在解压的根目录下找到php.ini-development,是用于开发环境的配置文件:还有一个php.ini-production,这个是用于生产环

  • 使用swoole扩展php websocket示例

    复制代码 代码如下: <?phpdefine('DEBUG', 'on');define("WEBPATH", str_replace("\\","/", __DIR__));require __DIR__ . '/../libs/lib_config.php'; class WebSocket extends Swoole\Network\Protocol\WebSocket{    /**     * 下线时,通知所有人     */ 

  • PHP框架Swoole定时器Timer特性分析

    本文所述PHP框架Swoole定时器Timer特性分析具有很好的实用价值,值得PHP程序开发人员学习借鉴.具体分析如下: 首先,在各种业务型系统中,往往需要服务器在后台扫描相关数据,触发相应的统计.通知等操作. 比如对于一个项目管理系统,需要每天的特定时间内,统计每项任务的执行.到期情况.整个项目的进度等等,根据统计情况,做相应通知处理: 这样一个场景,如何编程实现? 用一般的编程方式,是无法实现自动触发与统计的.当然,简单的思路,是利于系统的cron job机制.但这种方式,对于配置及可靠性方

  • 初识PHP中的Swoole

    Swoole是一种PHP高级Web开发框架,框架不是为了提升网站的性能,是为了提升网站的开发效率.最少的性能损耗,换取最大的开发效率.利用Swoole框架,开发一个复杂的Web功能,可以在很短的时间内完成. 官方定义: Swoole:重新定义PHP PHP的异步.并行.高性能网络通信引擎,使用纯C语言编写,提供了PHP语言的异步多线程服务器,异步TCP/UDP网络客户端,异步MySQL,异步Redis,数据库连接池,AsyncTask,消息队列,毫秒定时器,异步文件读写,异步DNS查询. Swo

  • 使用php+swoole对client数据实时更新(一)

    如果想对一个列表做实时的更新,传统的做法是采用轮询的方式.以web为例,通过Ajax定时请求服务端然后获取数据显示在页面.这种方式实现简单,缺点就是浪费资源. HTTP1.1新增加了对websocket的支持,这样就可以将被动展示转变为主动通知.也就是通过websocket与服务端保持持久链接,一旦数据发生变化,由server通知client数据有更新,然后再进行刷新等操作.这样就省去了很多不必要的被动请求,节省了服务器资源. 要实现一个webscoket的程序,首先需要使用支持html5的浏览

  • 基于Swoole实现PHP与websocket聊天室

    websocket Websocket只是一个网络通信协议 就像 http.ftp等都是网络通信的协议:不要多想: 相对于HTTP这种非持久的协议来说,Websocket是一个持久化网络通信的协议: WebSocket和HTTP的关系 有交集,但是并不是全部. Websocket只是借用了HTTP的一部分协议来完成一次握手.(HTTP的三次握手,此处只完成一次) http和websocket 请求头对比: HTTP: 原来的时候,客户端通过http(骑马)带着信请求服务器,服务器处理请求(写回信

  • php异步多线程swoole用法实例

    本文实例讲述了php异步多线程swoole用法.分享给大家供大家参考.具体分析如下: swoole重新定义PHP语言的高性能网络通信框架,提供了PHP语言的异步多线程服务,下面的实例就可以证实这一功能. 一般来说,Swoole提供了PHP语言的异步多线程服务器,异步TCP/UDP网络客户端,异步MySQL,数据库连接池,AsyncTask,消息队列,毫秒定时器,异步文件读写,异步DNS查询. swoole以前听过, 拿来做游戏服务器简直是神器-今天稍微的感受了一下,  在 ubuntu 下搭建了

  • 详解PHP swoole process的使用方法

    引入背景:假如我们每天有10000个订单生成,需要同步到仓储系统中去,以前做法是开启一个crontab去跑这些任务,但是发现总有感觉同步效率低,间隔时间都是分钟级别的. 解决方案测试:我们将同步订单的任务表添加一个hash作为key,作为分发条件,因为mysql中select如果做mod函数是用不到索引的,所以我们自己做随机hash,但是务必不需要范围太大,以免服务器资源不够,方法是根据hashkey投放到不同的进程中进行同步,测试代码如下 <?php /** * Created by PhpS

  • PHP+swoole实现简单多人在线聊天群发

    由于本文的能力有限,有好多聊天逻辑的细节没有实现,只实现了群发,具体代码如下所示: php代码: $serv = new swoole_websocket_server("127.0.0.1",3999); //服务的基本设置 $serv->set(array( 'worker_num' => 2, 'reactor_num'=>8, 'task_worker_num'=>1, 'dispatch_mode' => 2, 'debug_mode'=>

  • linux平台编译安装PHP7并安装Redis扩展与Swoole扩展实例教程

    本文实例讲述了linux平台编译安装PHP7并安装Redis扩展与Swoole扩展的方法.分享给大家供大家参考,具体如下: 前面<PHP7安装Redis扩展教程[Linux与Windows平台]>一文告诉读者简单的安装Redis的方法,下面我们来实现在linux中编译安装PHP7并安装Redis扩展与Swoole扩展的方法. 编译安装PHP7并安装Redis扩展Swoole扩展: 在编译php7的机器上已经有编译安装过php5.3以上的版本,从而依赖库都有了 本php7是编译成fpm-php

随机推荐