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.

Apache, PHP & MySQL Versions

Discussion in 'EasyApache' started by jorgepi, Feb 25, 2011.

  1. jorgepi

    jorgepi Active Member

    Joined:
    Jan 23, 2011
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi:
    What versions of Apache, PHP & MySQL are installed by default during cpanel installation?
    Thanks.
     
  2. xerophyte

    xerophyte Well-Known Member

    Joined:
    Mar 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    I think you can oftain this information from WHM (ip:2087) clicking the link "Service Status" under the Server Status section, of course you can also get all the info from the shell too
     
  3. jorgepi

    jorgepi Active Member

    Joined:
    Jan 23, 2011
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I have not installed cpanel yet.
     
  4. laceja

    laceja Registered

    Joined:
    Feb 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    South America
    The cPanel Status gives you to version of Apache (httpd) and mysql, but doesn't have any phpinfo. Is there a way to run phpinfo() within cPanel?
     
  5. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    This depends on when you install cPanel. cPanel is constantly updating versions in its installer. You can check the latest panel builds available at this link and changes made to the panel are updated at this link.

    You can put a page phpinfo.php in public_html with phpinfo() function in it and open the page in your browser. On SSH, you can run 'php -i' to achieve the same but that is not formatted info.
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Apache 2.0 (latest Apache 2.0 that we support)
    PHP 5.2.9

    Those are the defaults, later versions of Apache and PHP are supported.

    For the version of MySQL that is enabled by default, visit Packages < AllDocumentation/ChangeLog < TWiki and scroll down to RELEASE.
     
  7. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    I did want to mention that you can see the latest available versions of Apache, EasyApache and PHP if you run the following in root SSH:

    /scripts/easyapache --latest-versions

    You'd get a return like the following when using that command:

    Easy::Apache v3.2.0 Build 5291

    [Apache]
    1.3.42, 2.0.63, 2.2.17

    [PHP 4]
    4.4.6, 4.4.7, 4.4.8, 4.4.9

    [PHP 5]
    5.2.9, 5.2.16, 5.3.3, 5.3.4

    You can see your current Apache, cPanel and PHP versions using this command:

    /scripts/easyapache --version

    Where you'd see something like the following:


    Easy::Apache v3.2.0 Build 5291

    [cpanel]
    11.28.75-EDGE_51144


    [apache]
    Server version: Apache/2.2.16 (Unix)
    Server built: Nov 4 2010 16:30:31
    Cpanel::Easy::Apache v3.2.0 rev5210


    [server]
    Linux server.domain. 2.6.9-89.0.25.EL #1 Thu May 6 12:17:11 EDT 2010 i686 i686 i386 GNU/Linux

    You can also do this in WHM > EasyApache (Apache Update) area by clicking on [Help] > [Report version info of ea3, cpanel, and apache] (to see the currently existing versions) or [Help] > [List latest version of Apache, PHP, etc that this installs] (to see the latest available versions)

    Note : This was a post by cPanel tech which I found informative and made it a doc. Hopes this will help you guys too.
     
  8. ! am bond

    ! am bond Guest

    phpinfo() gives information only abt your server, if you have a new mysql version you probably have to install a version compatible with cpanel
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    As of today, for new installations, the default Apache version is now Apache 2.2 and the default PHP version is 5.2.17
     
Loading...

Share This Page