Skip to main content

Using Terminal to Target Modules of Assigned PHP Version for cPanel Account

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  This is expected behavior.  It's best to call the full PHP version like this to ensure you're working with the proper version on the command line:

    /opt/cpanel/ea-php84/root/usr/bin/php -m | egrep -i 'intl'

     

    0
  • LibertyTalk FM

    Hi cPRex, thank you. The above provided terminal command executes and returns the expected value.

    My confusion arose as I thought being in the actual cPanel account with PHP 8.4, the terminal session would return the PHP particulars for said account.

    Guess you learn something new everyday. :)

    0
  • cPRex Jurassic Moderator

    You would think!  But with multi-PHP and all the interaction from that it's best to be explicit whenever possible.

    0

Please sign in to leave a comment.