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.

IMPORTANT, Curl and PHP!

Discussion in 'General Discussion' started by abc5net, Oct 2, 2003.

  1. abc5net

    abc5net Member

    Joined:
    Aug 12, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello friends,

    I have an urgent problem now. We installed PHP 4.3.3 with buildapache and GD2 library. We had working Curl before, but now it isn't. I am not a very professional in server technics, but I know basic commands of Linux and I can install something if needed. But I think that since we have now new PHP, we have to recompile PHP with Curl. Curl is installed, but I dont know the commands how to compile it :( I tried PHP manual, but it was not very clear to me. Maybe someone can kindly help me out and give me the exact commands that I must use with this problem, a client is complaining and I have to help him out ASAP!

    Thank you so much!!

    cPanel.net Support Ticket Number:
     
  2. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    This should work just fine via easyapache. Select option 6 and go into the PHP settings and make sure curl and curl-ssl are selected.

    cPanel.net Support Ticket Number:
     
  3. abc5net

    abc5net Member

    Joined:
    Aug 12, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    You mean that I should change something in php.ini ? Yep, I installed with 6th option, but Curl is not working. I will check the PHP.ini.

    cPanel.net Support Ticket Number:
     
  4. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    no need to modify php.ini.

    to make sure your compilation is going fine, move the /usr/local/apache/libexec/libphp4.so to some other place and use easyapache to recompile php.

    after completion, check if libphp4.so has been regenerated there.

    cPanel.net Support Ticket Number:
     
  5. AP

    AP Well-Known Member

    Joined:
    Nov 5, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    this can be done under WHM

    cPanel.net Support Ticket Number:
     
  6. abc5net

    abc5net Member

    Joined:
    Aug 12, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I did it! Thanks to you all.

    cPanel.net Support Ticket Number:
     
  7. Pjotr

    Pjotr Member

    Joined:
    Apr 27, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Waalwijk, the Netherlands
    Maybe i'm doing something wrong, or i'm just stupid, but when i recompile apache with curl, it still is not in my PHP.ini file.

    Weird...

    cPanel.net Support Ticket Number:
     
  8. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    lool for --with-curl in phpinfo() - if it is there, then it is okay.

    phpinfo.php
    --
    <? phpinfo(); ?>
    --

    cPanel.net Support Ticket Number:
     
  9. Pjotr

    Pjotr Member

    Joined:
    Apr 27, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Waalwijk, the Netherlands
    Nope, its not there, i did compile with option 5 though.

    cPanel.net Support Ticket Number:
     
  10. abc5net

    abc5net Member

    Joined:
    Aug 12, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    You cant get Curl with 5th, only 6th.

    cPanel.net Support Ticket Number:
     
  11. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    :(

    never used options 1- 5.. I always use 6 .. try that :)

    best luck.

    cPanel.net Support Ticket Number:
     
  12. Pjotr

    Pjotr Member

    Joined:
    Apr 27, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Waalwijk, the Netherlands
    I'm in option 6 right now and i cannot see anything that has to do with Curl, help me please..

    cPanel.net Support Ticket Number:
     
  13. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    get me on aol im at

    t3rmin4tor2

    I will guide you.

    :)

    cPanel.net Support Ticket Number:
     
  14. Pjotr

    Pjotr Member

    Joined:
    Apr 27, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Waalwijk, the Netherlands
    Done, u rule :)

    cPanel.net Support Ticket Number:
     
  15. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    np :)

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page