2

I have this problem, and now I don't know how to safely replace Ondrej PHP with Ubuntu 22.04 original PHP repository?

I have PHP-FPM.

Pablo Bianchi
  • 17,371
newcat1000
  • 1,594

1 Answers1

4

If the server can be offline for a little bit, the most effective way to accomplish this goal will be to:

  1. Stop Apache

  2. Uninstall PHP

  3. Remove the Ondrej PPA

    Note: It may be prudent to visually confirm your .list files in /etc/apt and /etc/apt/sources.list.d to ensure that nothing is pointing to the Ondrej PPA location.

  4. Re-Install PHP and the various additional packages that you require

  5. Restart Apache

matigo
  • 24,752
  • 7
  • 50
  • 79