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!

SOLVED problem accessing phpextensionmgr?

Discussion in 'EasyApache' started by LukeFive Dev, Nov 7, 2018.

  1. LukeFive Dev

    LukeFive Dev Member

    Joined:
    Sep 14, 2018
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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?

    [root@s000-000-000-000 scripts]# cd /scripts/
    [root@s000-000-000-000 scripts]# phpextensionmgr list
    bash: phpextensionmgr: command not found
    [root@s000-000-000-000 scripts]# phpextensionmgr help
    bash: phpextensionmgr: command not found
    [root@s000-000-000-000 scripts]# /scripts/phpextensionmgr help
    This script is not supported in EasyApache 4 at this time
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,565
    Likes Received:
    43
    Trophy Points:
    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".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. LukeFive Dev

    LukeFive Dev Member

    Joined:
    Sep 14, 2018
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Well, the second part of your reply reveals some 'user error' on my part; typing too fast.
    I did not know about that EasyApache 4 restriction, @cPanelKenneth , so thanks for the tip!
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,565
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    You're welcome. I have done similar things myself many times :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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