PHP 5.2 Installation Error

PHP 5.2 Installation Error

Occasionally we have to install software that’s outdated. Old scripts don’t run on newer versions of PHP. I was installing PHP 5.2 on Ubuntu 20 and when I ran make I ecountered this error.

[Makefile:479: ext/dom/node.lo] Error 1

What do you do? Run this command and then run make again:
curl -s https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt | patch -p0

That should get you going again.

Did you find this article useful?