On Sun, 3 May 2020 13:34:34 +0200, you wrote:
>Hi,
>
>I did not use MythTV for several months beacause I had no tuner, and now
>I have several issues to make it work again.
>
>I tried http://localhost:80/mythweb, http://127.0.0.1:80/mythweb and
>simply http://localhost/mythweb, but it does not work. Of course,
>mythweb is installed and it worked before.
>
>http://localhost/ does not work either, but other localhost-adresses
>like http://localhost:631 for cups or https://admin.ct.local/login.php
>for CTparental work. So I think, this not the problem.
>
>sincerely
>
>Klaus
Mythweb is installed an Apache "site". In Ubuntu, the config for it
is in /etc/apache/sites-available/mythweb.conf. So you need to check
in the Apache log files to see if there are any errors.
A common problem that stops mythweb from working is that the PHP
version gets updated and the Apache PHP config does not point to the
new version. I can remember having to enable the new version of PHP
to get it to work on Ubuntu.
To find out what version of PHP is installed, try this command:
apt list --installed | grep -i php
This is what I get in Ubuntu 18.04:
root@mypvr:~# apt list --installed | grep -i php
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
libapache2-mod-php/bionic,bionic,now 1:7.2+60ubuntu1 all
[installed,automatic]
libapache2-mod-php7.2/bionic-updates,bionic-security,now
7.2.24-0ubuntu0.18.04.4 amd64 [installed,automatic]
php-common/bionic,bionic,now 1:60ubuntu1 all [installed,automatic]
php-mysql/bionic,bionic,now 1:7.2+60ubuntu1 all [installed,automatic]
php-mythtv/bionic,bionic,now
2:30.0+fixes.202004181650.c6b20b0~ubuntu18.04.1 all [installed]
php5-common/now 5.5.9+dfsg-1ubuntu4.20 amd64 [installed,local]
php5-json/now 1.3.2-2build1 amd64 [installed,local]
php7.2-cli/bionic-updates,bionic-security,now 7.2.24-0ubuntu0.18.04.4
amd64 [installed,automatic]
php7.2-common/bionic-updates,bionic-security,now
7.2.24-0ubuntu0.18.04.4 amd64 [installed,automatic]
php7.2-json/bionic-updates,bionic-security,now 7.2.24-0ubuntu0.18.04.4
amd64 [installed,automatic]
php7.2-mysql/bionic-updates,bionic-security,now
7.2.24-0ubuntu0.18.04.4 amd64 [installed,automatic]
php7.2-opcache/bionic-updates,bionic-security,now
7.2.24-0ubuntu0.18.04.4 amd64 [installed,automatic]
php7.2-readline/bionic-updates,bionic-security,now
7.2.24-0ubuntu0.18.04.4 amd64 [installed,automatic]
So you can see that I have PHP 7.2 installed.
To see what modules are enabled in Apache, do this:
a2query -m
I get this:
root@mypvr:~# a2query -m
authz_groupfile (enabled by unknown)
access_compat (enabled by maintainer script)
socache_shmcb (enabled by site administrator)
filter (enabled by maintainer script)
mpm_prefork (enabled by site administrator)
authn_core (enabled by maintainer script)
ssl (enabled by site administrator)
negotiation (enabled by unknown)
rewrite (enabled by unknown)
status (enabled by unknown)
authz_user (enabled by unknown)
mime (enabled by unknown)
auth_basic (enabled by unknown)
cgi (enabled by unknown)
authn_file (enabled by unknown)
alias (enabled by unknown)
authz_host (enabled by unknown)
setenvif (enabled by unknown)
authz_core (enabled by maintainer script)
deflate (enabled by unknown)
reqtimeout (enabled by unknown)
env (enabled by unknown)
dir (enabled by unknown)
autoindex (enabled by unknown)
php7.2 (enabled by site administrator)
So Apache has the php7.2 module enabled.
When I had my problem, PHP had been upgraded to 7.2 but Apache still
had an older version of PHP module enabled. I had to disable the
older version with:
a2dismod php7.1
and enable the PHP 7.2 module with
a2enmod php7.2
and then restart Apache 2:
systemctl restart apache2
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users http://wiki.mythtv.org/Mailing_List_etiquette MythTV Forums:
https://forum.mythtv.org