Distro Name for Red Hat Enterprise Linux ES

kreny
2007-06-17
2012-12-12
  • kreny

    kreny - 2007-06-17

    Hello,

    When I tried to use phpSysInfo-2.5.3 in a Red Hat Enterprise Linux ES  box, I found  that the distro name shows "unknow".

    Here is the simple solution, hope it will help you guys.

    Open  distros.ini file and after [RedHat] part, add lines like below

    [RedHatEnterpriseES]
    Image = "Redhat.png"
    Files = "/etc/redhat-release;/etc/redhat_version"

    Enjoy!

    Kreny

     
    • Booyah

      Booyah - 2007-11-03

      Thanks for posting this fix Kreny!

      This is also happening in phpSysInfo-2.5.4

       
    • John Hiemenz

      John Hiemenz - 2008-03-24

      Thanks.  And the fix for RedHat Enterprise AS is just as simple:

      Open distros.ini file and after [RedHat] part, add lines like below

      [RedHatEnterpriseAS]
      Image = "Redhat.png"
      Files = "/etc/redhat-release;/etc/redhat_version"