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.

mysite:2083 running outdated versions of php & cpanel?

Discussion in 'Security' started by nerod, May 5, 2011.

  1. nerod

    nerod Member

    Joined:
    Feb 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Whenever I login to cpanel's whm under https I see (according to server headers) it is running cpanel cpsrvd/11.28.87 and upon heading to phpmyadmin via cpanel's main window -> PHP 5.2.9! It is my understanding nothing under php 5.3x is supported. How can I fix this?

    When I visit www.example.com (as in: my site) I see php is running php 5.3.6; I update via EasyApache in WHM.
     
    #1 nerod, May 5, 2011
    Last edited: May 5, 2011
  2. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    As root, run /scripts/easyapache and update to 5.3
     
  3. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I am not sure what you mean by this. At this time, cPanel supports PHP 5.2.9, 5.2.17, 5.3.5 and 5.3.6 and builds any of these versions using EasyApache. EasyApache still offers the option to build 5.2.x versions because some hosts have customers running old scripts that would break in 5.3.x.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The PHP version reported by the phpMyAdmin is the internal PHP binary provided with cPanel & WHM (it resides in /usr/local/cpanel/3rdparty). This is not the same binary used by Apache to serve website content.
     
  5. nerod

    nerod Member

    Joined:
    Feb 4, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I understand why Cpanel offers them, but according to php.net:
    Ok, that makes sense as to why there's differences in versions - but because these are technically 'out of date' - is it possible to hide the server headers?

    For example:
    Visiting https://www.example.com/webmail - I can see cpsrvd/11.30.0.16

    Can I hide that?
     

Share This Page