How to install HTTP Request Module in CentOS 5.2

Discussion in 'Installation/Configuration' started by [email protected], Dec 11, 2008.

  1. k.ramesh47@gmail.com

    [email protected] New Member

    Hello everybody,

    I have e-fax integration to be integrated in my application(a website which is build in PHP) where I need to install HTTP Request Module first , then should make a change in my php.ini file.

    For that to happen I need to execute four steps. They are :

    sudo yum install php-xml
    sudo yum install php-devel
    sudo pecl install pecl_http
    sudo yum install php-pear-HTTP-Request

    I am facing a problem in executing the 3rd step. The error what I am getting is
    building in /var/tmp/pear-build-root/pecl_http-1.6.2
    running: /temp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression=all --with-http-magic-mime=all --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... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ERROR: `/temp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression=all --with-http-magic-mime=all --with-http-shared-deps' failed


    Please do suggest what modification should be done in order to fix this issue.

    Thanks & Regards
    Ramesh.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you check config.log?

    Is SELinux disabled?
     

Share This Page