How to install memcached extension in PHP

Source: Internet
Author: User
Tags gcov
For details about how to install memcached in PHP, refer to general Linux technology-Linux technology and application information. When I install the PHP extension module memcached, the following message is always displayed: Why? How can I solve this problem? Thank you.
#./Configure -- with-php-config =/usr/local/php/bin/php-config -- with-libevent =/usr/local/libevent/
Configure: WARNING: unrecognized options: -- with-php-config
Checking build system type... i686-pc-linux-gnu
Checking host system type... i686-pc-linux-gnu
Checking target system type... i686-pc-linux-gnu
Checking for a BSD-compatible install.../usr/bin/install-c
Checking whether build environment is sane... yes
Checking for a thread-safe mkdir-p.../bin/mkdir-p
Checking for gawk... gawk
Checking whether make sets $ (MAKE)... yes
Checking for gcc... gcc
Checking for C compiler default output file name... a. out
Checking whether the C compiler works... yes
Checking whether we are cross compiling... no
Checking for suffix of executables...
Checking for suffix of object files... o
Checking whether we are using the gnu c compiler... yes
Checking whether gcc accepts-g... yes
Checking for gcc option to accept ISO c89... none needed
Checking for style of include used by make... GNU
Checking dependency style of gcc... gcc3
Checking how to run the C preprocessor... gcc-E
Checking for grep that handles long lines and-e.../bin/grep
Checking for egrep.../bin/grep-E
Checking for icc in use... no
Checking for Sun cc in use... no
Checking for gcc option to accept ISO c99...-std = gnu99
Checking whether gcc-std = gnu99 and cc understand-c and-o together... yes
Checking for a BSD-compatible install.../usr/bin/install-c
Checking for ansi c header files... yes
Checking for sys/types. h... yes
Checking for sys/stat. h... yes
Checking for stdlib. h... yes
Checking for string. h... yes
Checking for memory. h... yes
Checking for strings. h... yes
Checking for inttypes. h... yes
Checking for stdint. h... yes
Checking for unistd. h... yes
Checking sasl/sasl. h usability... yes
Checking sasl/sasl. h presence... yes
Checking for sasl/sasl. h... yes
Checking for gcov.../usr/bin/gcov
Checking for main in-lgcov... yes
Checking for libevent directory.../usr/local/libevent/
Checking for library containing socket... none required
Checking for library containing gethostbyname... none required
Checking for library containing umem_cache_create... no
Checking for library containing gethugepagesizes... no
Checking for stdbool. h that conforms to c99... yes
Checking for _ Bool... yes
Checking for inttypes. h... (cached) yes
Checking for print macros for integers (C99 section 7.8.1)... yes
Checking for an ansi c-conforming const... yes
Checking for socklen_t... yes
Checking for endianness... little
Checking for htonll... no
Checking for library containing pthread_create... none required
Checking for mlockall... yes
Checking for getpagesizes... no
Checking for memcntl... no
Checking for sigignore... yes
Checking for alignment... need
Checking for setppriv... no
Checking umem. h usability... no
Checking umem. h presence... no
Checking for umem. h... no
Checking for xml2rfc... no
Checking for login tproc... no
Configure: creating./config. status
Config. status: creating Makefile
Config. status: creating doc/Makefile
Config. status: creating config. h
Config. status: config. h is unchanged
Config. status: executing depfiles commands
Configure: WARNING: unrecognized options: -- with-php-config
Related Article

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.