changed php version but php is not working

Avatar
  • updated
  • Answered
Greetings.  I am quite inexperienced with php and have been working projects to try and learn.  Yesterday I found that my php installation was out of date.  I did some reading on the site and used MultiPHP Manager to change from version 7.2 to version 8.0.  But I cannot access php functionality when I run a script from my website, not even a simple echo command.  When I check c-panel server information I am still listed as php version 7.2.34, when I check multiPHP INI Editor under "home" directory i am listed as php version 7.2, but under the listing for my domain I am listed as version 8.0.  
Appreciate any assistance.  Thank you!

Avatar
JT S.
  • Answered

I recommend creating a phpinfo pagein the root directory for the site you're working on. It'll tell you where it's picking the PHP version from. You may need to edit a PHP.ini file to specify which version to use.