Skip to main content

Install previous version of pecl_http

Comments

9 comments

  • vanessa
    No, but you can do it manually. Download it from [url=http://pecl.php.net/package/pecl_http]PECL :: Package :: pecl_http, for example: wget http://pecl.php.net/get/pecl_http-2.0.4.tgz tar -xvzf pecl_http-2.0.4.tgz cd pecl* phpize ./configure make make install
    0
  • cPanelMichael
    Hello :) The instructions in the previous post should work, but keep in mind that it's not really advised to use older versions of applications. Often times newer versions include bug resolutions or security patches. Thank you.
    0
  • adlinkas
    Thanks for your help, following the instructions that Vanessa posted I get the following error at ./configure step: 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... configure: error: in `/home/XXXXXX/pecl_http-1.7.6': configure: error: C compiler cannot create executables How can I solve this??
    0
  • adlinkas
    Checking config.log i got this: cc: error trying to exec 'as': execvp: Permission denied configure:2800: $? = 1 configure:2838: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2844: error: in `/home/dashaxa/pecl_http-1.7.4': configure:2847: error: C compiler cannot create executables I'm kind of lost to solve it...
    0
  • cPanelMichael
    Make sure you are logged in as "root" and not the account username. Thank you.
    0
  • vanessa
    [quote="cPanelMichael, post: 1629082">Make sure you are logged in as "root" and not the account username. Thank you.
    Either that, or make sure you have compilers enabled for non-root users. You can configure this in WHM under the security section.
    0
  • adlinkas
    Hi sorry to bother again, now I'm installing the package logged as root, but now i get: checking for curl/curl.h... not found configure: error: could not find curl/curl.h I installed curl with this wget http://curl.haxx.se/download/curl-7.19.5.tar.gz tar -pxzf curl-7.16.0.tar.gz cd curl-7.16.0 ./configure --with-ssl make make install But I still get the message that it could not find curl/curl.h what i'm missing? [COLOR="silver">- - - Updated - - - Hi, I do have compiler enabled for non-root users but now i'd rather do it as root. But i get a new error: checking for curl/curl.h... not found configure: error: could not find curl/curl.h I installed curl with the next process: wget
    0
  • adlinkas
    I've also enabled curl via WHW, but still got the not found curl/curl.h error at ./configure step [COLOR="silver">- - - Updated - - - I think my previous post got missed... I'm doing the install as root but now at ./configure step i got: checking for curl/curl.h... not found configure: error: could not find curl/curl.h I enabled curl via WHM and also try to manually install it using curl.haxx but I still got the same error, am I missing something??
    0
  • cPanelMichael
    Make sure "curl" and "curl-devel" are installed on the system. It looks like you installed "curl" from source, but it's likely easier if you uninstall it and install both packages through YUM. Thank you.
    0

Please sign in to leave a comment.