We are trying to upgrade PHP to latest version on Linux. We have followed the following steps.

  • Removed the old PHP version
  • Downloaded the latest version (PHP 7.3.9)
  • Restarted Apache and MySQL

I guess we missed some steps, because our application has stopped working.

While trying with drush updb, we got some PDO connection errors.

Any guesses?

New contributor
Anshita Shrivastava is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as too broad by leymannx, kiamlaluno Oct 8 at 20:30

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Please post the actual error. – Kevin Oct 8 at 17:39
  • 1
    drush rq or drush wd-show or your Apache error log giving you what? – leymannx Oct 8 at 19:55

Browse other questions tagged or ask your own question.