您的位置:首页 > 运维架构 > Linux

php test —CentOS7— 编译 PHP

2016-02-01 00:00 591 查看
[root@localhost php-5.6.14]# ./configure --with-apxs2=/usr/bin/apxs --with-config-file-path=/etc --enable-cli --enable-shared --with-libxml-dir --enable-xml --with-gd --enable-gd-native-ttf --with-openssl --enable-mbstring --with-mcrypt --enable-soap --with-mhash --with-ldap --with-ldap-sasl --enable-opcache --enable-mysqlnd --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-zip --with-zlib --with-zlib-dir --with-jpeg-dir --with-png-dir --with-freetype-dir --with-curl --without-pdo-sqlite --with-sqlite3 --enable-pcntl --enable-calendar --enable-bcmath --enable-exif --enable-ftp --enable-intl --with-bz2 --with-pcre-regex --with-iconv-dir --disable-rpath --enable-shmop --enable-sysvsem --enable-sysvshm --enable-inline-optimization --enable-mbregex --enable-fpm --enable-sockets --with-xmlrpc --with-xsl --with-gettext --enable-session --enable-ctype --with-kerberos

[root@localhost php-5.6.14]# make -j4

[root@localhost php-5.6.14]# make test

=====================================================================

TIME END 2015-10-25 01:50:11

=====================================================================

TEST RESULT SUMMARY

---------------------------------------------------------------------

Exts skipped : 26

Exts tested : 54

---------------------------------------------------------------------

Number of tests : 13638 11345

Tests skipped : 2293 ( 16.8%) --------

Tests warned : 7 ( 0.1%) ( 0.1%)

Tests failed : 38 ( 0.3%) ( 0.3%)

Expected fail : 36 ( 0.3%) ( 0.3%)

Tests passed : 11264 ( 82.6%) ( 99.3%)

---------------------------------------------------------------------

Time taken : 651 seconds

=====================================================================

=====================================================================

EXPECTED FAILED TEST SUMMARY

---------------------------------------------------------------------

Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also

bugs 48111 and 52176.

Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt] XFAIL REASON: See Bug #48770

Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt] XFAIL REASON: See Bug #48770

Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_3.phpt] XFAIL REASON: See Bug #48770

Bug #64896 (Segfault with gc_collect_cycles using unserialize on certain objects) [Zend/tests/bug64896.phpt] XFAIL REASON: We can not fix this bug without a significant (performace slow down) change to gc

Initial value of static var in method depends on the include time of the class definition [Zend/tests/method_static_var.phpt] XFAIL REASON: Maybe not a bug

DateTime::add() -- fall type2 type3 [ext/date/tests/DateTime_add-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::add() -- fall type3 type2 [ext/date/tests/DateTime_add-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::add() -- fall type3 type3 [ext/date/tests/DateTime_add-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::add() -- spring type2 type3 [ext/date/tests/DateTime_add-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::add() -- spring type3 type2 [ext/date/tests/DateTime_add-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::add() -- spring type3 type3 [ext/date/tests/DateTime_add-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- fall type2 type3 [ext/date/tests/DateTime_diff-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- fall type3 type2 [ext/date/tests/DateTime_diff-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- fall type3 type3 [ext/date/tests/DateTime_diff-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- spring type2 type3 [ext/date/tests/DateTime_diff-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- spring type3 type2 [ext/date/tests/DateTime_diff-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::diff() -- spring type3 type3 [ext/date/tests/DateTime_diff-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- fall type2 type3 [ext/date/tests/DateTime_sub-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- fall type3 type2 [ext/date/tests/DateTime_sub-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- fall type3 type3 [ext/date/tests/DateTime_sub-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- spring type2 type3 [ext/date/tests/DateTime_sub-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- spring type3 type2 [ext/date/tests/DateTime_sub-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist

DateTime::sub() -- spring type3 type3 [ext/date/tests/DateTime_sub-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist

RFC: DateTime and Daylight Saving Time Transitions (zone type 3, bd2) [ext/date/tests/rfc-datetime_and_daylight_saving_time-type3-bd2.phpt] XFAIL REASON: Still not quite right

RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fs) [ext/date/tests/rfc-datetime_and_daylight_saving_time-type3-fs.phpt] XFAIL REASON: Still not quite right

Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags

Bug #67296 (filter_input doesn't validate variables) [ext/filter/tests/bug49184.phpt] XFAIL REASON: See Bug #49184

Bug #53640 (XBM images require width to be multiple of 8) [ext/gd/tests/bug53640.phpt] XFAIL REASON: Padding is not implemented yet

zend multibyte (7) [ext/mbstring/tests/zend_multibyte-07.phpt] XFAIL REASON: https://bugs.php.net/bug.php?id=66582
zend multibyte (9) [ext/mbstring/tests/zend_multibyte-09.phpt] XFAIL REASON: https://bugs.php.net/bug.php?id=66582
Bug #70470 (Built-in server truncates headers spanning over TCP packets) [sapi/cli/tests/bug70470.phpt] XFAIL REASON: bug is not fixed yet

FPM: Test various messages on start, from master and childs [sapi/fpm/tests/015.phpt] XFAIL REASON: randomly intermittently failing all the time in CI,

ERROR: unable to read what child say: Bad file descriptor (9)

catch_workers_output = yes seems not reliable

FPM: Test Unix Domain Socket with Posix ACL [sapi/fpm/tests/021-uds-acl.phpt] XFAIL REASON: Mark as XFAIL because --with-fpm-acl is not enabled in default build

=====================================================================

=====================================================================

FAILED TEST SUMMARY

---------------------------------------------------------------------

Bug #52202 (CURLOPT_PRIVATE gets clobbered) [ext/curl/tests/bug52202.phpt]

Bug #64267 (CURLOPT_INFILE doesn't allow reset) [ext/curl/tests/bug64267.phpt]

IntlDateFormatter, calendars and time zone [ext/intl/tests/dateformat_calendars.phpt]

IntlDateFormatter: several forms of the calendar arg [ext/intl/tests/dateformat_create_cal_arg.phpt]

datefmt_format_code() [ext/intl/tests/dateformat_format.phpt]

IntlDateFormatter::formatObject(): IntlCalendar tests [ext/intl/tests/dateformat_formatObject_calendar.phpt]

IntlDateFormatter::formatObject(): DateTime tests [ext/intl/tests/dateformat_formatObject_datetime.phpt]

datefmt_format_code() and datefmt_parse_code() [ext/intl/tests/dateformat_format_parse.phpt]

IntlDateFormatter: setCalendar()/getCalendar()/getCalendarObject() [ext/intl/tests/dateformat_get_set_calendar.phpt]

IntlDateFormatter: get/setTimeZone() [ext/intl/tests/dateformat_get_set_timezone.phpt]

datefmt_set_timezone_id_code() icu >= 4.8 [ext/intl/tests/dateformat_set_timezone_id2.phpt]

IntlDateFormatter: several forms of the timezone arg [ext/intl/tests/dateformat_timezone_arg_variations.phpt]

numfmt_get_locale() [ext/intl/tests/formatter_get_locale.phpt]

locale_filter_matches.phpt() icu >= 4.8 && icu < 51.2 [ext/intl/tests/locale_filter_matches2.phpt]

locale_get_display_name() icu >= 4.8 && icu < 51.2 [ext/intl/tests/locale_get_display_name2.phpt]

locale_get_display_region() icu >= 4.8 && icu < 51.2 [ext/intl/tests/locale_get_display_region2.phpt]

locale_lookup.phpt() [ext/intl/tests/locale_lookup.phpt]

MessageFormat accepts IntlCalendar args [ext/intl/tests/msgfmt_format_intlcalendar.phpt]

ResourceBundle constructor bundle accepts NULL for first two arguments [ext/intl/tests/resourcebundle_null_mandatory_args.phpt]

IntlTimeZone::getDisplayName(): type parameter (ICU >= 49 && ICU < 51.2) [ext/intl/tests/timezone_getDisplayName_variant2-49+.phpt]

Multicast support: IPv6 receive options [ext/sockets/tests/mcast_ipv6_recv.phpt]

FPM: Startup and connect [sapi/fpm/tests/002.phpt]

FPM: Test IPv6 support [sapi/fpm/tests/003.phpt]

FPM: Test IPv4/IPv6 support [sapi/fpm/tests/004.phpt]

FPM: Test IPv4 allowed clients [sapi/fpm/tests/005.phpt]

FPM: Test IPv6 allowed clients (bug #68428) [sapi/fpm/tests/006.phpt]

FPM: Test IPv6 all addresses and access_log (bug #68421) [sapi/fpm/tests/007.phpt]

FPM: Test multi pool (dynamic + ondemand + static) (bug #68423) [sapi/fpm/tests/008.phpt]

FPM: Test Unix Domain Socket [sapi/fpm/tests/009.phpt]

FPM: Test status page [sapi/fpm/tests/010.phpt]

FPM: Test IPv4 all addresses (bug #68420) [sapi/fpm/tests/011.phpt]

FPM: Test reload configuration (bug #68442) [sapi/fpm/tests/012.phpt]

FPM: Test for log_level in fpm_unix_init_main #68381 [sapi/fpm/tests/013.phpt]

FPM: Test for pm.start_servers default calculation message being a notice and not a warning #68458 [sapi/fpm/tests/014.phpt]

FPM: Test splited configuration and load order #68391 [sapi/fpm/tests/016.phpt]

FPM: Test fastcgi_finish_request function [sapi/fpm/tests/017.phpt]

FPM: Test global prefix [sapi/fpm/tests/019.phpt]

FPM: Test pool prefix [sapi/fpm/tests/020.phpt]

=====================================================================

=====================================================================

WARNED TEST SUMMARY

---------------------------------------------------------------------

zend multibyte (2) [ext/mbstring/tests/zend_multibyte-02.phpt] (warn: XFAIL section but test passes)

zend multibyte (6) [ext/mbstring/tests/zend_multibyte-06.phpt] (warn: XFAIL section but test passes)

zend multibyte (8) [ext/mbstring/tests/zend_multibyte-08.phpt] (warn: XFAIL section but test passes)

zend multibyte (10) [ext/mbstring/tests/zend_multibyte-10.phpt] (warn: XFAIL section but test passes)

zend multibyte (11) [ext/mbstring/tests/zend_multibyte-11.phpt] (warn: XFAIL section but test passes)

Phar: bug #69958: Segfault in Phar::convertToData on invalid file [ext/phar/tests/bug69958.phpt] (warn: XFAIL section but test passes)

Bug #70172 - Use After Free Vulnerability in unserialize() [ext/standard/tests/serialize/bug70172.phpt] (warn: XFAIL section but test passes)

=====================================================================

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]: yes

Please enter your email address.

(Your address will be mangled so that it will not go out on any

mailinglist in plain text): jsjoscpu@163.com

Posting to http://qa.php.net/buildtest-process.php
Thank you for helping to make PHP better.

[root@localhost php-5.6.14]# make install

Installing PHP SAPI module: apache2handler

/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' libphp5.la /usr/lib64/httpd/modules

/usr/lib64/apr-1/build/libtool --mode=install install libphp5.la /usr/lib64/httpd/modules/

libtool: install: install .libs/libphp5.so /usr/lib64/httpd/modules/libphp5.so

libtool: install: install .libs/libphp5.lai /usr/lib64/httpd/modules/libphp5.la

libtool: install: warning: remember to run `libtool --finish /opt/project/php-5.6.14/libs'

chmod 755 /usr/lib64/httpd/modules/libphp5.so

[activating module `php5' in /etc/httpd/conf/httpd.conf]

Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/

Installing PHP CLI binary: /usr/local/bin/

Installing PHP CLI man page: /usr/local/php/man/man1/

Installing PHP FPM binary: /usr/local/sbin/

Installing PHP FPM config: /usr/local/etc/

Installing PHP FPM man page: /usr/local/php/man/man8/

Installing PHP FPM status page: /usr/local/php/php/fpm/

Installing PHP CGI binary: /usr/local/bin/

Installing PHP CGI man page: /usr/local/php/man/man1/

Installing build environment: /usr/local/lib/php/build/

Installing header files: /usr/local/include/php/

Installing helper programs: /usr/local/bin/

program: phpize

program: php-config

Installing man pages: /usr/local/php/man/man1/

page: phpize.1

page: php-config.1

Installing PEAR environment: /usr/local/lib/php/

[PEAR] Archive_Tar - installed: 1.3.12

[PEAR] Console_Getopt - installed: 1.3.1

[PEAR] Structures_Graph- installed: 1.0.4

[PEAR] XML_Util - installed: 1.2.3

[PEAR] PEAR - installed: 1.9.5

Wrote PEAR system config file at: /usr/local/etc/pear.conf

You may want to add: /usr/local/lib/php to your php.ini include_path

/opt/project/php-5.6.14/build/shtool install -c ext/phar/phar.phar /usr/local/bin

ln -s -f phar.phar /usr/local/bin/phar

Installing PDO headers: /usr/local/include/php/ext/pdo/

[root@localhost php-5.6.14]#
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: