PHP Redis extension installation failed for Mac local XAMPP

Source: Internet
Author: User
Tags php redis zts
$/applications/xampp/xamppfiles/bin/phpize-5.4.31 Configuring for:php API Version:20100412zend Module API No: 20100525Zend Extension Api no:220100525$ clear$/applications/xampp/xamppfiles/bin/phpize-5.4.31 Configuring For:P HP API Version:20100412zend Module API no:20100525zend Extension API no:220100525$./configure--WITH-PH p-config=/applications/xampp/xamppfiles/bin/php-config-5.4.31 checking for grep that handles long lines and-e .../usr/  Bin/grepchecking for Egrep .../usr/bin/grep-echecking for a sed to does not truncate output .../usr/bin/sedchecking for Cc...  Ccchecking whether the C compiler works ... yeschecking for C compiler default output file name ... a.outchecking for suffix of executables checking whether we is cross compiling ... nochecking for suffix of object files ... ochecking whether W  E is using the GNU C compiler ... yeschecking whether cc accepts-g ... yeschecking for CC option to accept ISO C89 ... none Neededchecking HowTo run the C preprocessor ... cc-echecking for ICC ... nochecking for SUNCC ... nochecking whether CC understands-c And-o Together Yeschecking for System Library directory ... libchecking if compiler supports-r ... nochecking if compiler supp Orts-wl,-rpath,... yeschecking build system Type ... i386-apple-darwin14.3.0checking host system type ... I386-apple-darwin14.3.0checking target system Type ... i386-apple-darwin14.3.0checking for PHP prefix .../applications/ Xampp/xamppfileschecking for PHP includes ...-i/applications/xampp/xamppfiles/include/php-i/applications/xampp/ xamppfiles/include/php/main-i/applications/xampp/xamppfiles/include/php/tsrm-i/applications/xampp/xamppfiles/ include/php/zend-i/applications/xampp/xamppfiles/include/php/ext-i/applications/xampp/xamppfiles/include/php/ ext/date/libchecking for PHP extension directory .../applications/xampp/xamppfiles/lib/php/extensions/ No-debug-non-zts-20100525checking for PHP installed headers prefix .../applications/xampp/xamppfiles/include/phpchecking if Debug is enabled ... nochecking if ZTS is enabled ... nochecking for re2c ... re2cchecking for Re2 C version ... 0.16 (OK) checking for gawk ... nochecking for Nawk ... nochecking for awk ... awkchecking if awk is broken ... nochecking whet She to enable Redis support ... yes, sharedchecking whether to enable sessions ... yeschecking whether to enable Igbinary SE Rializer support ... nochecking for Redis igbinary support ... disabledchecking for LD used by cc ... /library/developer/commandlinetools/usr/bin/ldchecking if the linker (/library/developer/commandlinetools/usr/bin/ LD) is GNU ld ... nochecking for/library/developer/commandlinetools/usr/bin/ld option to reload object files ...-rchecking for Bsd-compatible nm .../usr/bin/nmchecking whether ln-s works ... yeschecking how to recognize dependent libraries ... pass_a Llchecking for ANSI C header files ... yeschecking for sys/types.h ... yeschecking for sys/stat.h ... yeschecking for stdlib. H ... yeschecking for string.h ... YescHecking for memory.h ... yeschecking for strings.h ... yeschecking for inttypes.h ... yeschecking for stdint.h ... yeschecking For unistd.h ... yeschecking dlfcn.h usability ... yeschecking dlfcn.h presence ... yeschecking for dlfcn.h ... yeschecking t He maximum length of command line arguments ... 196608checking command to PARSE/USR/BIN/NM output from cc object ... okchecking for objdir .... Libschecking for ar ... Archecking for ranlib ... ranlibchecking for strip ... stripchecking for dsymutil ... dsymutilchecking for nmedit ... nmeditch Ecking FOR-SINGLE_MODULE linker flag ... yeschecking FOR-EXPORTED_SYMBOLS_LIST linker flag ... yeschecking if CC supports -fno-rtti-fno-exceptions yeschecking for CC option to produce pic ...-fno-commonchecking if cc pic Flag-fno-common wo  Rks ... yeschecking if cc static flag-static works ... nochecking if cc supports-c-o file.o ... yeschecking whether the CC Linker (/LIBRARY/DEVELOPER/COMMANDLINETOOLS/USR/BIN/LD) supports GKFX libraries ... yeschecking DynamIC linker characteristics ... darwin14.3.0 dyldchecking how to hardcode library paths into programs ... immediatechecking WH Ether stripping libraries is possible ... yeschecking if Libtool supports GKFX libraries ... yeschecking whether to build Shared libraries ... yeschecking whether to build static libraries ... nocreating libtoolappending configuration Tag "CXX" t o libtoolconfigure:creating./config.statusconfig.status:creating config.hconfig.status:config.h is unchanged$ sudo Makepassword:/bin/sh/applications/xampp/xamppfiles/htdocs/redis/phpredis/libtool--mode=install CP./redis.la/ APPLICATIONS/XAMPP/XAMPPFILES/HTDOCS/REDIS/PHPREDIS/MODULESCP./.libs/redis.so/applications/xampp/xamppfiles/ HTDOCS/REDIS/PHPREDIS/MODULES/REDIS.SOCP./.libs/redis.lai/applications/xampp/xamppfiles/htdocs/redis/phpredis/ Modules/redis.la----------------------------------------------------------------------Libraries have been Installed in:/applications/xampp/xamppfiles/htdocs/redis/phpredis/moduleSIf ever happen to want to link against installed Librariesin a given directory, Libdir, you must either use Libtool, Andspecify the full pathname of the library, or use the '-llibdir ' flag during linking and does at least one of the following :-Add Libdir to the ' Dyld_library_path ' environment variable during executionsee any operating system Documentatio n About GKFX Libraries Formore information, such as the LD (1) and ld.so (8) manual pages.-------------------------------- --------------------------------------Build complete. Don ' t forget to run ' make test '. Shengyewangluodemacbook-air:phpredis shengye$ make testbuild complete. Don ' t forget to run ' make test '. PHP warning:php Startup:redis:Unable to initialize Modulemodule compiled with module api=20121212php compiled with Module Api=20100525these options need to match in Unknown on line 0PHP warning:php Startup:redis:Unable to initialize Modulemodule compiled with module api=20121212php compiled with module api=20100525These options need to match in Unknown on line 0================================================================== ===php:/applications/xampp/xamppfiles/bin/php warning:php Startup:redis:Unable to initialize modulemodule com Piled with module api=20121212php compiled with module Api=20100525these options need to match in Unknown on line 0php_  Sapi:cliphp_version:5.4.31zend_version:2.4.0php_os:darwin-darwin shengyewangluodemacbook-air.local 14.3.0 Darwin Kernel Version 14.3.0:mon Mar 11:59:05 PDT 2015; Root:xnu-2782.20.48~5/release_x86_64 X86_64ini Actual:/applications/xampp/xamppfiles/htdocs/redis/phpredis/ Tmp-php.inimore. INIS:CWD:/applications/xampp/xamppfiles/htdocs/redis/phpredisextra dirs:VALGRIND:Not used=========== ==========================================================time START 2016-09-20 04:52:42========================= ============================================no tests were run.shengyewangluodemacbook-air:phPredis shengye$ sudo make installinstalling shared extensions:/applications/xampp/xamppfiles/lib/php/extensions/no-d Ebug-non-zts-20100525/shengyewangluodemacbook-air:phpredis shengye$ sudo make install/bin/sh/applications/xampp/ Xamppfiles/htdocs/redis/phpredis/libtool--mode=install CP./redis.la/applications/xampp/xamppfiles/htdocs/redis/ PHPREDIS/MODULESCP./.libs/redis.so/applications/xampp/xamppfiles/htdocs/redis/phpredis/modules/redis.socp./. libs/redis.lai/applications/xampp/xamppfiles/htdocs/redis/phpredis/modules/ Redis.la----------------------------------------------------------------------Libraries has been installed in:/ Applications/xampp/xamppfiles/htdocs/redis/phpredis/modulesif ever happen to want to link against installed Librariesin a given directory, Libdir, you must either use Libtool, andspecify the full pathname of the library, or use th E '-llibdir ' flag during linking and do in least one of the following:-add Libdir to the ' Dyld_library_path ' enviRonment variable during executionsee any operating system documentation about GKFX libraries Formore information, Su CH as the LD (1) and ld.so (8) Manual Pages.----------------------------------------------------------------------Installing shared extensions:/ applications/xampp/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/$/applications/xampp/bin/php-m |grep redisphp warning:php startup:unable to load dynamic library '/applications/xampp/xamppfiles/lib/php/extensions/ No-debug-non-zts-20100525/ffmpeg.so '-Dlopen (/applications/xampp/xamppfiles/lib/php/extensions/ No-debug-non-zts-20100525/ffmpeg.so, 9): Image not found in Unknown on line 0PHP warning:php Startup:redis:Unable to I Nitialize Modulemodule compiled with module api=20121212php compiled with module Api=20100525these options need to MATC h in Unknown on line 0warning:php Startup:redis:Unable to initialize module

Your baby's extended installation has never been successful, why? Ask the man to enlighten

Before also installed ffmpeg and Imagick are not successful, very delay progress. Ask Master Enlighten

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.