WHM: Can't install/update PHP PECL anymore
Hello,
WHM -> Module Installers -> PHP PECL -> Manage and click on update or install a new one
The output log always gives (apcu example):
Build process completed successfully ERROR: Extension 'apcu' already loaded. Please unload it in your php.ini file prior to install or up grade
So we are unable to update or install PECL
Also there is :
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
Thanks for help
-
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 -
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 -
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 -
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 -
Are you actually logging in as root or are you accessing WHM with another username?
0 -
yes root
0 -
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 -
ok thanks anyway :)
0
Please sign in to leave a comment.
Comments
8 comments