Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jan 2011
    Posts
    25

    Default Apache, PHP & MySQL Versions

    Hi:
    What versions of Apache, PHP & MySQL are installed by default during cpanel installation?
    Thanks.

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default Re: Apache, PHP & MySQL Versions

    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
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  3. #3
    Member
    Join Date
    Jan 2011
    Posts
    25

    Default Re: Apache, PHP & MySQL Versions

    I have not installed cpanel yet.

  4. #4
    Registered User
    Join Date
    Feb 2011
    Location
    South America
    Posts
    2

    Default Re: Apache, PHP & MySQL Versions

    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. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default Re: Apache, PHP & MySQL Versions

    Quote Originally Posted by jorgepi View Post
    Hi:
    What versions of Apache, PHP & MySQL are installed by default during cpanel installation?
    Thanks.
    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.

    Quote Originally Posted by laceja View Post
    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?
    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.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Apache, PHP & MySQL Versions

    Quote Originally Posted by jorgepi View Post
    Hi:
    What versions of Apache, PHP & MySQL are installed by default during cpanel installation?
    Thanks.
    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. #7
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Apache, PHP & MySQL Versions

    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. #8
    Member
    Join Date
    Mar 2011
    Location
    United States
    Posts
    10
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: Apache, PHP & MySQL Versions

    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. #9
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Apache, PHP & MySQL Versions

    As of today, for new installations, the default Apache version is now Apache 2.2 and the default PHP version is 5.2.17

Similar Threads & Tags
Similar threads

  1. Replies: 4
    Last Post: 05-18-2011, 04:52 PM
  2. re-compile apache with 2 versions of PHP
    By valleytech in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-11-2008, 01:12 AM
  3. apache 1.3 -> 2.2.6 php 4.x -> php 5 & mysql 4 -> 5
    By qwerty in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-05-2008, 09:13 AM
  4. apache and modssl versions are listed as newer than the latest versions
    By allwebnow in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-13-2007, 09:13 AM
  5. 2 PHP versions 2 mysql versions
    By t9clkclnr in forum Database Discussions
    Replies: 4
    Last Post: 07-07-2005, 11:00 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube