Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to install pecl_http

Discussion in 'General Discussion' started by its_joe, Sep 14, 2008.

  1. its_joe

    its_joe Well-Known Member

    Joined:
    Feb 15, 2007
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    We have centos 4 and WHM 11 on server.

    I am trying to install pecl_http. but I am getting error. The error is as follows:
    ===============================
    # pecl install pecl_http
    downloading pecl_http-1.6.1.tgz ...
    Starting to download pecl_http-1.6.1.tgz (172,539 bytes)
    ..........................done: 172,539 bytes
    71 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    1. whether to enable cURL HTTP requests; specify libcurl directory : yes

    1-1, 'all', 'abort', or Enter to continue:
    1. whether to enable support for gzencoded/deflated message bodies; specify zlib directory : yes

    1-1, 'all', 'abort', or Enter to continue:
    1. whether to enable response content type guessing; specify libmagic directory : no

    1-1, 'all', 'abort', or Enter to continue:
    1. whether to depend on extensions which have been built shared : yes

    1-1, 'all', 'abort', or Enter to continue:
    building in /var/tmp/pear-build-root/pecl_http-1.6.1
    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 egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.
    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
    ===================================

    Please assist me then how to install pecl_http module on server
    its_joe
     
  2. its_joe

    its_joe Well-Known Member

    Joined:
    Feb 15, 2007
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    166
    Hello,

    Anyone please help with this pecl_http module installation.

    waiting for the reply.

    its_joe
     
  3. ashokpomnar

    ashokpomnar Active Member

    Joined:
    Sep 30, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice