SOLVED problem accessing phpextensionmgr?

LukeFive Dev

Member
Sep 14, 2018
18
2
3
United States
cPanel Access Level
Root Administrator
We definitely have phpextensionmgr in our /scripts/ directory; I can do the ls command inside scripts and see it. But it does not respond to list or help. Very unusual?

[[email protected] scripts]# cd /scripts/
[[email protected] scripts]# phpextensionmgr list
bash: phpextensionmgr: command not found
[[email protected] scripts]# phpextensionmgr help
bash: phpextensionmgr: command not found
[[email protected] scripts]# /scripts/phpextensionmgr help
This script is not supported in EasyApache 4 at this time
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,578
52
308
cPanel Access Level
Root Administrator
Hi,

Based upon the last message in the output you provided, your server is using EasyApache 4. The phpextensionmgr utility is not compatible with EasyApache 4.

Also, unless the local directory is in your path, you will need to add ./ to the front of the executable. That is why the first couple of times the system told you "command not found".