The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with pecl_http instalation

Discussion in 'General Discussion' started by qualisuporte, Apr 26, 2013.

  1. qualisuporte

    qualisuporte Registered

    Joined:
    Nov 13, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi;

    I'm finding other problems similar the mine, but not's help me. So I decide post the problem.
    -
    I had pecl_http instalation by WHM > modulers > pecl_php how showing the problem below.
    -
    When trying ssh list on pecl_http not showing return, how may I install on ssh and why this happening?
    -
    downloading pecl_http-1.7.5.tgz ...
    Starting to download pecl_http-1.7.5.tgz (174,624 bytes)
    .....................................done: 174,624 bytes
    71 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20090626
    Zend Module Api No: 20090626
    Zend Extension Api No: 220090626
    whether to enable cURL HTTP requests; specify libcurl directory [yes] : whether to enable support for gzencoded/deflated message bodies; specify zlib directory [yes] : whether to enable response content type guessing; specify libmagic directory [no] : whether to depend on extensions which have been built shared [yes] : building in /root/tmp/pear/pear-build-rooteeQvvY/pecl_http-1.7.5
    running: /root/tmp/pear/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    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 cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... re2c
    checking for re2c version... 0.13.5 (ok)
    checking for gawk... gawk
    checking whether to enable extended HTTP support... yes, shared
    checking whether to depend on extensions which have been built shared... yes
    checking whether to enable cURL HTTP request support... yes
    checking whether to enable libevent support fur cURL... yes
    checking whether to enable zlib encodings support... yes
    checking whether to enable response content type guessing... no
    checking for egrep... (cached) /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking how to run the C preprocessor... cc -E
    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 netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking for unistd.h... (cached) yes
    checking for gethostname... yes
    checking for getdomainname... yes
    checking for getservbyport... yes
    checking for getservbyname... yes
    checking for zlib.h... found in /usr
    checking for zlib version >= 1.2.0.4... 1.2.3
    checking for curl/curl.h... not found
    configure: error: could not find curl/curl.h
    ERROR: `/root/tmp/pear/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps' failed
    The pecl_http.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/etc/php.ini...
    No changes
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Try installing curl-devel using yum, and then install pecl_php again.
     
Loading...

Share This Page