[mythtv-users] Mythweb PHP issue after upgrade from Ubuntu 16.04 to 18.04

Bob Sully rcs at malibyte.net
Tue Oct 2 22:48:32 UTC 2018


On Tue, 2018-10-02 at 02:07 -0700, Bob Sully wrote:
> > On 02/10/18 07:04, Bob Sully wrote:
> > > Hi all -
> > Upgraded Myth from 0.28 to 0.29 on Ubuntu 16.04 last
> > week. Noproblems, completely painless.
> > Upgraded the OS to 18.04 tonight. Mostly painless (a lot better
> > thanthe last one, from 14.04 to 16.04!)
> > However, I'm running into issues with Mythweb and PHP,
> > apparentlysince 18.04 is using 7.2. I have already enabled the 7.2
> > modules inapache2. I also copied the mysqli.ini file
> > from/etc/php/7.0/apache2/conf.d/ to /etc/php/7.2/apache2/conf.d/
> > andrestarted 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
> > Errorerror string: !!NoTrans: You are missing a php extension for
> > mysqlinteraction. 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... DoneBuilding dependency treeReading state
> > information... DoneNote, 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!
> > When I did the in-place upgrade from 16.04 to 18.04 the
> > followingresolved the mythweb issue :
> > sudo mv /etc/php/7.0/apache2/conf.d/20-mythweb.ini
> > /etc/php/7.2/apache2/conf.d/20-mythweb.inisudo a2enmod php7.2 #to
> > sort out apache2sudo systemctl restart apache2
> > I did not have to do anything with 20-mysqli.ini
> > Mike
> 
> Hi, Mike - I had seen your post to that effect previously, and had
> copied the 20-mythweb.ini file to /etc/php/7.2/apache2/conf.d/ -
> should have mentioned that also.
> That didn't solve this problem, though.
> Thanks, though!
> --Regards,Bob_______________________________________________mythtv-
> users mailing listmythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
> 

is mysqli uncommented in php.ini ?


Glen:
It was in /etc/php/7.2/apache2/php.ini but not in 
/etc/php/7.2/cli/php.ini.

I went ahead and uncommented it and restarted - still no change.

<scratching my head>

Thanks

-- 
Regards,
Bob


More information about the mythtv-users mailing list