[mythtv-users] Mythweb PHP issue after upgrade from Ubuntu 16, 04 to 18.04

Bob Sully rcs at malibyte.net
Tue Oct 2 06:04:56 UTC 2018


Hi all -

Upgraded Myth from 0.28 to 0.29 on Ubuntu 16.04 last week.  No problems, 
completely painless.

Upgraded the OS to 18.04 tonight.  Mostly painless (a lot better than 
the last one, from 14.04 to 16.04!)

However, I'm running into issues with Mythweb and PHP, apparently since 
18.04 is using 7.2.  I have already enabled the 7.2 modules in apache2.  
I also copied the mysqli.ini file from /etc/php/7.0/apache2/conf.d/ to 
/etc/php/7.2/apache2/conf.d/ and restarted apache2.


I'm getting this error in Mythweb:

Fatal Error
!!NoTrans: You are missing a php extension for mysql interaction. Please 
install php-mysqli or similar!!

     datetime:  2018-10-01 22:40:43 (PDT)
     errornum:  256[rcs at vader: ~]$ sudo apt install php-mysqli
   error type:  User Error
error string:  !!NoTrans: You are missing a php extension for mysql 
interaction. Please install php-mysqli or similar!!
     filename:  /usr/share/mythtv/mythweb/includes/php_version_check.php
   error line:  20


However:
$ sudo apt install php-mysqli

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.2-mysql' instead of 'php-mysqli'
php7.2-mysql is already the newest version (7.2.10-0ubuntu0.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

What am I missing?
Thanks in advance!

-- 
Regards,
Bob


More information about the mythtv-users mailing list