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.

CURL module wont install

Discussion in 'General Discussion' started by Quent, Nov 11, 2003.

  1. Quent

    Quent Registered

    Joined:
    Oct 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ventura County
    I am trying to compile CURL with SSL support through easyapache. I SSH in and select [ ] PHP with SSL support. I exit out and compile. But CURL will not take hold. I even tried activating openssl thinking this was a problem. Still no good. Any ideas?
     
    #1 Quent, Nov 11, 2003
    Last edited: Nov 11, 2003
  2. savagehost

    savagehost Member

    Joined:
    Jul 24, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    CURL not compiling..

    After recent updates, CURL broke...
    And it is proving impossible to get CURL, CURL+SSL to compile.

    When doing in SSH, it simply skips past the CURL.
    When in WHM, the compile sequence freezes...

    This has broken the billing and cpanel processing, and has also caused problems in SSL's.

    No errors received to report? Strange...

    Thanks... Any help would be much appreciated...
     
  3. Quent

    Quent Registered

    Joined:
    Oct 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ventura County
    So the curl lib is no good? Wont work at all? Hmm. This could be a problem. Where did you get the info on curl not compiling? I would really like to read it. As far as errors there were none that I saw. It compiled like it was never there. httpd started just fine and everything.

    Thanks a lot for the info.javascript:smilie(':D')
     
  4. savagehost

    savagehost Member

    Joined:
    Jul 24, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Curl compiled...

    Curl finally compiled, using PHP 4.3.3 vs. 4.3.4

    it only seemed to stall/not compile when using PHP 4.3.4?

    Downgraded to PHP 4.3.3 and all went without a hitch.

    Thanx
     
  5. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Got a fix!

    I hope this helps someone as it had me stumped for a while.

    Somewhere along the line curl got installed in the /usr/local/bin directory. It seems that all programs look there first for curl. The problem is curl was being compiled/updated in the /usr/bin directory all along. I renamed the /usr/local/bin/curl (did not want to delete just yet) file and now everything is working fine.

    Best wishes!
     
  6. Quent

    Quent Registered

    Joined:
    Oct 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ventura County
    What Version of PHP?

    Savage, I am in version 4.3.3 maybe I am doing something wrong on the command line?

    V-rod. What version of php did you get CURL to compile in once you changed the name of the directory? 4.3.3 or .4?

    Again thanks for all this help!
     
    #6 Quent, Nov 14, 2003
    Last edited: Nov 14, 2003
  7. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    There is really no way of knowing which version it was as it was compiled the whole time. I did downgrade at one time to 4.3.2 while trying to get it fixed and it would never upgrade again.
     
  8. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    AHHH, FINALLY. Now I know why my autosetup script is broken. I've been posting and posting and posting, yet nobody seems to have the same problem! I finally took apart the php/cgi scripts and realized that the autosetup scripts works with SSL disabled, then I did a search for curl and found this. Well, I hate you all for not finding me first!

    My thread: http://forums.cpanel.net/showthread.php?s=&threadid=15511

    I'm just kidding around. ;)

    So now I have something to play with, yay! Time to get Curl back up and running!!! :) Wish me good luck, lol..

    Michael
     
  9. Quent

    Quent Registered

    Joined:
    Oct 16, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ventura County
    Glad this thread was of use to you Michael-MS. Let me know if you get CURL up and running again. I still have not, and it is super important that I do. So please let me know what you find.

    Thanks.
     
  10. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    I installed it by downgrading PHP as suggested and choosing it using WHM's apache upgrade. Autosetup still doesn't work using SSL though... so I don't know what's going on. :(
     
  11. v-rod

    v-rod Well-Known Member

    Joined:
    Sep 18, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    What do you get with the following?

    which curl

    /path/to/curl -V
     
  12. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    root@ [~]# curl -V
    curl 7.9.5 (i386-redhat-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6 enabled)
     
  13. icanectc

    icanectc Well-Known Member

    Joined:
    Mar 10, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    16
    Im also trying to install cURL into PHP 4.3.4 and its not installing it.

    How do I downgrade to 4.3.3?

    Thanks
     
  14. savagehost

    savagehost Member

    Joined:
    Jul 24, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    SSH WHM & Curl

    I couldn't get it to compile properly using SSH regardless of which way I did it.

    Used whm and tried different compilations, and finally got it to work.

    Using WHM (careful if you're on a dial-up, or wireless)

    Software --> Update Apache

    check downgrade to 4.3.3 (to revert to PHP 4.3.3)
    select the other options you need (curl Curl+SSL etc.)

    scroll back up and click build. and wait, and wait, and wait, til httpd restarts the second time.

    Still not sure as to why it hung, or failed in ssh, or using 4.3.4? The paths were still the same (on my box anyhow)...
     
  15. icanectc

    icanectc Well-Known Member

    Joined:
    Mar 10, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    16
    after about 5 complies it finally added curl and curl ssl.
     
  16. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Not only curl won't install, mcrypt and freetype won't as well. I am already using PHP 4.3.3

    I used /scripts/easyapache (option 6) and chose all the PHP libraries, including Curl and Mcrypt. When it finishes compiling, I run a check and this is what I got

    Configure Command './configure' '--prefix=/usr' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--with-mysql=/usr' '--with-pear' '--enable-sockets' '--enable-track-vars' '--enable-versioning' '--with-zlib'

    As you can see, no CURL or MCRYPT. Before this I used /scripts/installzendopt to install Zend so the path to php.ini is now:

    Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini

    Do you think it has something to do with it? If yes, how do I change back the path? If no, what else could be wrong?
     
  17. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    FINALLY INSTALLED!

    Here is how I did it:

    1. /scripts/easyapache
    2. choose Option 6.
    3. As my server was PHP 4.3.3, I selected 4.3.4. (If you already on 4.3.4, compile again without pspell. If it still doesn't work, downgrade PHP to 4.3.3 and then upgrade back to 4.3.4)
    4. Select Curl, Curl w SSL and Mcrypt. Don't select pspell.
    5. Compile and done!

    Let me know if this works for you as well.
     
Loading...

Share This Page