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.

Why can't we use yum?

Discussion in 'General Discussion' started by sopya, Jun 11, 2013.

Thread Status:
Not open for further replies.
  1. sopya

    sopya Member

    Joined:
    Apr 27, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Why we cant use yum to install PHP extension , Apache modules etc. on cPanel server ...as we can on Plesk server?
     
  2. 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
    Plesk uses an RPM-based installation of Apache and PHP. cPanel does not. cPanel compiles Apache and PHP from source. That is why you cannot use yum to install or update Apache and PHP components on cPanel. RPM packages will break the source-built Apache and PHP on cPanel.
     
  3. sopya

    sopya Member

    Joined:
    Apr 27, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thx Buddy...
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Actually you can also use pecl utility to install php modules in a simple way, as this options does not needs to compile modules manually.
     
  5. 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
    That is correct, but PECL is very different from yum. PECL actually does compile PHP components from source, but since they are extensions, they do not require recompiling the entire PHP code base. The same is true for PEAR.

    yum is an update manager for rpm (Red Hat Package Manager) files, which are collections of pre-compiled binary files. PEAR and PECL can be used to install some PHP extensions, but it is not the same as using yum or rpm, which is what the original question was about.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page