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.

enable php-openssl in machine with WHM/Cpanel

Discussion in 'General Discussion' started by yoachan, Jul 26, 2011.

  1. yoachan

    yoachan Well-Known Member

    Joined:
    Jan 10, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Dear all,

    I have a machine running CentOS 5.6 x86 with WHM 11.28.64.
    In this machine I had php 5.2.9 and openssl-0.9.8e-12.el5_5.7

    The only problem that I have is I need to enable php-openssl module which currently not installed.

    I've been looking ways to do it but I'm afraid that it will break WHM/Cpanel.

    Is there any safe (and foolproof if possible) way to do it?

    I don't know if this forum is the right place for me to ask, but the whm/cpanel issue forced me to ask here...


    Thanks in advanced.
    regards,

    Yoachan
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please run this command and let us know the results:

    Code:
    php -m | grep -i openssl
    If PHP has been compiled with OpenSSL module, it will show this return:

    Code:
    root@host [~]# php -m | grep -i openssl
    openssl
    If it doesn't, then simply run "/scripts/easyapache --force" or WHM > EasyApache (Apache Update) and select "Openssl" in the Exhaustive Options List for the PHP modules, then recompile Apache at that point to add it onto the machine.
     
  3. yoachan

    yoachan Well-Known Member

    Joined:
    Jan 10, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Dear Tristan,

    Thank you for your answer and sorry for my late reply.

    When I tried to use EasyApache (Apache Update), I was asked to update my WHM to the latest version.
    Please bear with me, how dangerous can it be to update my WHM? Is it safe? Dealing with production machine still gives me chills. Usually someone else did this kind of maintenance for us...

    Another question related to my main topic is, how can I
    is it also an option provided by EasyApache too, or else...?

    thank you for your answer and kind patience.

    Regards,

    Yoachan
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Yoachan,

    EasyApache handles recompiling Apache, so yes it is an option at the end of EasyApache.

    As for updating cPanel or WHM, you would want to periodically update cPanel/WHM on your machine. If you do not, eventually the server will have old, outdated versions of everything, including components with a security risk due to their age.

    Thanks!
     
  5. yoachan

    yoachan Well-Known Member

    Joined:
    Jan 10, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    @Tristan:
    Thank you for your reply.
    I'll do cpanel update as you suggested.

    thanks :)
     
Loading...

Share This Page