Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Safe to install rpm/yum php package? (CentOS 5.6, cPanel 11.30.4)

Discussion in 'General Discussion' started by lowboy, Oct 27, 2011.

  1. lowboy

    lowboy Registered

    Joined:
    Jan 13, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    I have to build a php module (phpredis to be exact) and it requires php53 and php53-devel. Is it safe to uncomment cPanel's php* entry in /etc/yum.conf to allow php53 to be installed at the system level? I've got root access.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Since PHP is compiled in from source on a cpanel server, it is not recommend to install php using yup as it will cause issues later. Why don't you run EA3 and upgrade php to 5.3?

    Thank you,
    Nibin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lowboy

    lowboy Registered

    Joined:
    Jan 13, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    We've already got cPanel's custom build of php 5.3, it's the extra packages (php-devel) that I need.

    Same thing with perl-Error so I can install git.

    I'm guessing that I can just disable the yum excludes for these packages, as they don't replace their base deps.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice