zwd 发表于 2017-12-29 15:46:05

php添加扩展插件

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

  
# 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
  
FAIL pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait()
  
FAIL pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK
  
FAIL Bug #47566 (return value of pcntl_wexitstatus())
  
FAIL pcntl_alarm()
  
FAIL pcntl_exec()
  
FAIL pcntl_exec() 2
  
FAIL pcntl_exec() 3
  
FAIL Test function pcntl_fork() by calling it with its expected arguments
  
FAIL Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father can not knows his grandson
  
FAIL Test pcntl_get_last_error()
  
FAIL pcntl_signal()
  
FAIL pcnt_signal_dispatch()
  
FAIL pcntl_wait()
  
FAIL Closures as a signal handler
  
=====================================================================
  
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
  
pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait()
  
pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK
  
Bug #47566 (return value of pcntl_wexitstatus())
  
pcntl_alarm()
  
pcntl_exec()
  
pcntl_exec() 2
  
pcntl_exec() 3
  
Test function pcntl_fork() by calling it with its expected arguments
  
Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son -> grandson where father can not knows his grandson
  
Test pcntl_get_last_error()
  
pcntl_signal()
  
pcnt_signal_dispatch()
  
pcntl_wait()
  
Closures as a signal handler
  
=====================================================================
  

  
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? : n
  

  
# make install
  
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-zts-20090626/
页: [1]
查看完整版本: php添加扩展插件