I used this recipe from DigitalOcean to install phpMyAdmin on a web server running Ubuntu 16.04 LTS.
However, the version of php-gettext that you get for Ubuntu 16.4 LTS by doing:
apt install php-gettext
is from 2010, and it uses some depreciated class contructors (as pointed out in this answer).
My question is: If I go ahead and apply the suggested edits, will it have any (harmful) side effects. For instance will me patching the code stop it from being upgraded when the fine people officially maintaining Ubuntu 16.04 gets around to fixing this?
Or can I go ahead and patch it, and when the official upgrade comes along, it will be automatically installed as normal when I do the apt upgrade?
php-gettext? It is also provided byphp7.0-common, and if you installed PHP, you have thephp7.0-commonpackage and there's no point to installing the other package. – muru Aug 10 '17 at 09:00php-gettext(i.e. the good people at DigitalOcean told me to do so to have phpMyAdmin). I am not an Ubuntu boffin - so I follow recipes from trusted sources when I install stuff. Also, I would like to know the answer to the general question: If I install something usingapt, and then patch it - will something suffer from side-effects (such as no longer being automatically updated by the package manager when new versions of something is made officially available for upgrades)? – Free Radical Aug 10 '17 at 09:14