设为首页 收藏本站
查看: 721|回复: 0

[经验分享] php添加扩展插件

[复制链接]

尚未签到

发表于 2017-12-29 15:46:05 | 显示全部楼层 |阅读模式
[iyunv@qzltxx pcntl]# make  
/bin/sh /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/libtool --mode=compile cc -I. -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -DPHP_ATOM_INC -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/include -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/main -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/pcntl.c -o pcntl.lo
  
mkdir .libs
  cc -I. -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -DPHP_ATOM_INC -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/include -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/main -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/pcntl.c -fPIC -DPIC -o .libs/pcntl.o
  
/bin/sh /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/libtool --mode=compile cc -I. -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -DPHP_ATOM_INC -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/include -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/main -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/php_signal.c -o php_signal.lo
  cc -I. -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -DPHP_ATOM_INC -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/include -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/main -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/php_signal.c -fPIC -DPIC -o .libs/php_signal.o
  
/bin/sh /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/include -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/main -I/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o pcntl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/modules pcntl.lo php_signal.lo
  
cc -shared .libs/pcntl.o .libs/php_signal.o -Wl,-soname -Wl,pcntl.so -o .libs/pcntl.so
  
creating pcntl.la
  
(cd .libs && rm -f pcntl.la && ln -s ../pcntl.la pcntl.la)
  
/bin/sh /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/libtool --mode=install cp ./pcntl.la /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/modules
  
cp ./.libs/pcntl.so /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/modules/pcntl.so
  
cp ./.libs/pcntl.lai /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/modules/pcntl.la
  
PATH="$PATH:/sbin"ldconfig -n /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/modules
  
----------------------------------------------------------------------
  
Libraries have been installed in:
  
/usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/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 `LD_LIBRARY_PATH' environment variable
  during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
  during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  

  
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'.
  

  
[iyunv@qzltxx pcntl]# make test
  

  
Build complete.
  
Don't forget to run 'make test'.
  

  
PHP Warning: Module 'pcntl' already loaded in Unknown on line 0
  

  
Warning: Module 'pcntl' already loaded in Unknown on line 0
  
PHP Warning: Module 'pcntl' already loaded in Unknown on line 0
  

  
Warning: Module 'pcntl' already loaded in Unknown on line 0
  

  
=====================================================================
  
PHP : /usr/local/php/bin/php
  
PHP_SAPI : cli
  
PHP_VERSION : 5.3.27
  
ZEND_VERSION: 2.3.0
  
PHP_OS : Linux - Linux qzltxx 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64
  
INI actual : /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl/tmp-php.ini
  
More .INIs :
  
CWD : /usr/local/src/EZHTTP-master/soft/php-5.3.27/ext/pcntl
  
Extra dirs :
  
VALGRIND : Not used
  
=====================================================================
  
TIME START 2015-01-23 08:12:17
  
=====================================================================
  
FAIL Test pcntl wait functionality [tests/001.phpt]
  
FAIL pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() [tests/002.phpt]
  
FAIL pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK [tests/003.phpt]
  
FAIL Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt]
  
FAIL pcntl_alarm() [tests/pcntl_alarm.phpt]
  
FAIL pcntl_exec() [tests/pcntl_exec.phpt]
  
FAIL pcntl_exec() 2 [tests/pcntl_exec_2.phpt]
  
FAIL pcntl_exec() 3 [tests/pcntl_exec_3.phpt]
  
FAIL Test function pcntl_fork() by calling it with its expected arguments [tests/pcntl_fork_basic.phpt]
  
FAIL Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father can not knows his grandson [tests/pcntl_fork_variation.phpt]
  
FAIL Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt]
  
FAIL pcntl_signal() [tests/pcntl_signal.phpt]
  
FAIL pcnt_signal_dispatch() [tests/pcntl_signal_dispatch.phpt]
  
FAIL pcntl_wait() [tests/pcntl_wait.phpt]
  
FAIL Closures as a signal handler [tests/signal_closure_handler.phpt]
  
=====================================================================
  
TIME END 2015-01-23 08:12:21
  

  
=====================================================================
  
TEST RESULT SUMMARY
  
---------------------------------------------------------------------
  
Exts skipped : 0
  
Exts tested : 29
  
---------------------------------------------------------------------
  

  
Number of tests : 15 15
  
Tests skipped : 0 ( 0.0%) --------
  
Tests warned : 0 ( 0.0%) ( 0.0%)
  
Tests failed : 15 (100.0%) (100.0%)
  
Expected fail : 0 ( 0.0%) ( 0.0%)
  
Tests passed : 0 ( 0.0%) ( 0.0%)
  
---------------------------------------------------------------------
  
Time taken : 4 seconds
  
=====================================================================
  

  
=====================================================================
  
FAILED TEST SUMMARY
  
---------------------------------------------------------------------
  
Test pcntl wait functionality [tests/001.phpt]
  
pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() [tests/002.phpt]
  
pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK [tests/003.phpt]
  
Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt]
  
pcntl_alarm() [tests/pcntl_alarm.phpt]
  
pcntl_exec() [tests/pcntl_exec.phpt]
  
pcntl_exec() 2 [tests/pcntl_exec_2.phpt]
  
pcntl_exec() 3 [tests/pcntl_exec_3.phpt]
  
Test function pcntl_fork() by calling it with its expected arguments [tests/pcntl_fork_basic.phpt]
  
Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father can not knows his grandson [tests/pcntl_fork_variation.phpt]
  
Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt]
  
pcntl_signal() [tests/pcntl_signal.phpt]
  
pcnt_signal_dispatch() [tests/pcntl_signal_dispatch.phpt]
  
pcntl_wait() [tests/pcntl_wait.phpt]
  
Closures as a signal handler [tests/signal_closure_handler.phpt]
  
=====================================================================
  

  
You may have found a problem in PHP.
  
This report can be automatically sent to the PHP QA team at
  
http://qa.php.net/reports and http://news.php.net/php.qa.reports
  
This gives us a better understanding of PHP's behavior.
  
If you don't want to send the report immediately you can choose
  
option"s"to save it.
  
You can then email it to qa-reports@lists.php.net later.
  
Do you want to send this report now? [Yns]: n
  

  
[iyunv@qzltxx pcntl]# make install
  
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-zts-20090626/

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-429390-1-1.html 上篇帖子: 它山之石可以攻玉 下篇帖子: 飞鸿影~
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表