MythTV / mythweb

The official MythTV mythweb repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Numerous errors in PHP8.0

ysguy opened this issue · comments

commented

Seems the use of some deprecated functions is breaking Mythweb from working in PHP8.0

errors.php - line 50 - assert_options(ASSERT_QUIET_EVAL, 1); [Deprecated Function
cleanup.php - line 50 - if (get_magic_quotes_gpc()) { [Deprecated Function]

Thats as far as i've gone. I may try and fix on my own and post changes back over the holidays. not sure if someone else is already undertaking this effort. Obviously PHP 7.4 is supported for a long time yet so thats the best workaround for this issue.

What distro have you been testing this on?

commented

Ubuntu 18.04.05 LTS (Bionic)
PPA Souce ondrej - http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
Apache 2.4.29 (Ubuntu)
PHP 8.0.0

Assert changes are documented here: https://developer.yoast.com/blog/the-2020-wordpress-and-php-8-compatibility-report/

mythweb works perfectly fine on ubuntu-18.04.05 with the standard php7

we have no plans to work on php8 support as we are trying to deprecate mythweb. If you wish to supply patches to resolve issues with mythweb under php8 then we are happy to review and apply them as appropriate

The recently released Ubuntu 21.10 now ships php8.0, and php7.4 has been removed. Is the recommendation to switch to the built-in WebFrontend?

The recently released Ubuntu 21.10 now ships php8.0, and php7.4 has been removed. Is the recommendation to switch to the built-in WebFrontend?

If you mean the web extension in MythTV, it shows web pages inside MythTV. Mythweb shows MythTV data inside a web page.

The recently released Ubuntu 21.10 now ships php8.0, and php7.4 has been removed. Is the recommendation to switch to the built-in WebFrontend?

If you mean the web extension in MythTV, it shows web pages inside MythTV. Mythweb shows MythTV data inside a web page.

That's not what I mean. I know what Mythweb does. I mean the built-in webserver in the MythTV backend that runs on port 6544.