Skip to main content

wrong PHP version when using terminal

Comments

2 comments

  • barbarian86

    Strange, i found alias in the ~/.bashsrc that points to /opt/cpanel/ea-php73/root/usr/bin/php
    Commenting it out didn't work, so i just changed the path to php72 and reloaded the file.

    1
  • ffeingol

    What folder are you in when the run the command?  Make sure that you are in public_html (of a sub-folder of that folder).

    0

Please sign in to leave a comment.