Skip to main content

WHM: Can't install/update PHP PECL anymore

Comments

8 comments

  • cPRex Jurassic Moderator

    Hey there!  Have you tried running that

    pecl channel-update pecl.php.net

    command on the system yet to see if that update helps?  Are there any other details in the log at /usr/local/cpanel/logs/error_log that could be relevant?

    0
  • webmastergreg

    I just tried this command, but I don't have sufficient rights to do it in the cPanel terminal.

    But the response of the command is:

    Fatal error: Array and string offset access syntax with braces is no longer supported in /usr/local/lib/php/PEAR/Config.php on line 2095

    Anyway, the problem is the first one mentioned in my first post.

    Since it was working perfectly before, a cPanel update changed this, it should do the temporary PHP unloading by itself, because even that we are root on WHM we do not have the terminal in WHM but only in cPanel accounts, and so not enough rights to look at the root php.ini.

    0
  • cPRex Jurassic Moderator

    You would need to be using the root terminal in WHM, or a direct connection over SSH to run that.  I wouldn't expect that to work as a cPanel user using Terminal. 

    0
  • webmastergreg

    ok

    I'm admin on WHM but our hosting provider do not allow the root terminal access on it.

    But as I said I was able to install nor update PECL Module before...

    Thanks for reply cPRex

    Regards

    0
  • cPRex Jurassic Moderator

    Are you actually logging in as root or are you accessing WHM with another username?

    0
  • webmastergreg

    yes root

    0
  • cPRex Jurassic Moderator

    You'll have to speak with your hosting provider about this one - if they have limited what root can do on the system, we won't be able to help on our side.

    0
  • webmastergreg

    ok thanks anyway :)

    0

Please sign in to leave a comment.