jethrocarr / namedmanager

AGPL web-based DNS management interface in PHP
349 stars 125 forks source link

required php8.1 migrations #98

Open binsky08 opened 1 year ago

binsky08 commented 1 year ago

With these required changes (and tiny optional style improvements), namedmanager should be compatible with php7.x through php8.1. No guarantee that all warnings / errors have been found and eliminated, but as a fast-fix for php8 support it should be fine :)

dirkhillbrecht commented 1 year ago

Any roadblocker against merging this branch? I am in the process of updating my server for namedmanager from Ubuntu 18.04 to 22.04. I'd like to continue using namedmanager (esp. as there are not that many alternatives...) but for this I need compatibility with PHP 8.1. Does this branch work on PHP 7.4?

binsky08 commented 1 year ago

I use (a tiny customized variant of) this version with php8.1 in productive since a few weeks, without any problems

dirkhillbrecht commented 1 year ago

I can confirm that (a) this branch seems to work flawlessly under PHP 8.1 as included in Ubuntu 22.04 and (b) that it also works under PHP 7.4 as included in Ubuntu 20.04. At least my brief tests showed no problems. It's a pity that the original project by jethrocarr seems to be stalled for some time now. E.g. the homepage website mentioned in the spec file has been moved to a domain advertising service. Incorporating this branch would make namedmanager fit again for the foreseeable future. And that would be a good thing as there are not so many alternatives.