MAC编译安装PHP5.2失败
bash
... mark test ... ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt] timezone_abbreviations_list() tests [ext/date/tests/010.phpt] Test DateTimeZone::listAbbreviations() function : basic functionality [ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt] Test DateTime::modify() function : usage variation - Passing unexpected values to first argument $modify. [ext/date/tests/DateTime_modify_variation1.phpt] Test date_modify() function : usage variation - Passing unexpected values to second argument $format. [ext/date/tests/date_modify_variation2.phpt] Test gmstrftime() function : usage variation - Checking Preferred date and time representation other than on Windows [ext/date/tests/gmstrftime_variation22.phpt] Test strftime() function : usage variation - Checking Preferred date and time representation other than on Windows. [ext/date/tests/strftime_variation22.phpt] Test timezone_abbreviations_list() function : basic functionality [ext/date/tests/timezone_abbreviations_list_basic1.phpt] DOMDocument::$validateOnParse - effectual determination (dom_document_validate_on_parse_read/dom_document_validate_on_parse_write) [ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt] Test 7: DTD tests [ext/dom/tests/dom007.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Test session_encode() function : error functionality [ext/session/tests/session_encode_error2.phpt] Test session_save_path() function : variation [ext/session/tests/session_save_path_variation5.phpt] SimpleXML: XPath [ext/simplexml/tests/008.phpt] SPL: DirectoryIterator test getGroup [ext/spl/tests/DirectoryIterator_getGroup_basic.phpt] SPL: Spl Directory Iterator test getOwner [ext/spl/tests/DirectoryIterator_getOwner_basic.phpt] SPL: Spl File Info test getGroup [ext/spl/tests/SplFileInfo_getGroup_basic.phpt] SPL: Spl File Info test getOwner [ext/spl/tests/SplFileInfo_getOwner_basic.phpt] Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt] Test umask() function : usage variation [ext/standard/tests/file/umask_variation3.phpt] proc_nice() basic behaviour [ext/standard/tests/general_functions/proc_nice_basic.phpt] Test uniqid() function : basic functionality [ext/standard/tests/general_functions/uniqid_basic.phpt] Test mail() function : basic functionality [ext/standard/tests/mail/mail_basic2.phpt] Test mail() function : variation force extra parameters [ext/standard/tests/mail/mail_variation2.phpt] highlight_file() and output buffer [ext/standard/tests/strings/006.phpt] php_strip_whitespace() and output buffer [ext/standard/tests/strings/007.phpt] Test nl_langinfo() function : unexpected inputs for '$tem' argument [ext/standard/tests/strings/nl_langinfo_variation1.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test strtolower() function [ext/standard/tests/strings/strtolower.phpt] Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt] Test strptime() function : basic functionality [ext/standard/tests/time/strptime_basic.phpt] ===================================================================== ===================================================================== EXPECTED FAILED TEST SUMMARY --------------------------------------------------------------------- output buffering - fatalism [tests/output/ob_011.phpt] ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush() [tests/output/ob_start_basic_unerasable_005.phpt] Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store. [ext/spl/tests/arrayObject_exchangeArray_basic3.phpt] Bug #39863 (file_exists() silently truncates after a null byte) [ext/standard/tests/file/bug39863.phpt] =====================================================================
大神给看看是什么问题?
匿名希望☆
9 years, 9 months ago
Answers
安装 PHP 之前先安装 Xcode 的命令行工具
$ xcode-select --install
另外, 推荐使用 Homebrew 安装 PHP
http://brew.sh/
https://github.com/Homebrew/homebrew-php
变成人的猫
answered 9 years, 9 months ago