首页 > 编程 > PHP > 正文

php安装swoole扩展的方法

2020-03-22 19:02:20
字体:
来源:转载
供稿:网友
本文实例讲述了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

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表