<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;" bgcolor="#f7f7f7" text="#818181" link="#3399ff" vlink="#2c2c2c"><div>On Wed, 2018-10-10 at 10:15 -0700, Bob Sully wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Tue, 2018-10-02 at 15:48 -0700, Bob Sully wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Tue, 2018-10-02 at 02:07 -0700, Bob Sully wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On 02/10/18 07:04, Bob Sully wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Hi all -</pre></blockquote><pre>Upgraded Myth from 0.28 to 0.29 on Ubuntu 16.04 lastweek.</pre><pre>Noproblems, completely painless.Upgraded the OS to 18.04 tonight.</pre><pre>Mostly painless (a lot betterthanthe last one, from 14.04 to</pre><pre>16.04!)However, I'm running into issues with Mythweb and</pre><pre>PHP,apparentlysince 18.04 is using 7.2. I have already enabled</pre><pre>the 7.2modules inapache2. I also copied the mysqli.ini</pre><pre>filefrom/etc/php/7.0/apache2/conf.d/ to</pre><pre>/etc/php/7.2/apache2/conf.d/andrestarted apache2.</pre><pre>I'm getting this error in Mythweb:Fatal Error!!NoTrans: You are</pre><pre>missing a php extension for mysqlinteraction.Please install php-</pre><pre>mysqli or similar!!datetime: 2018-10-01 22:40:43 (PDT) errornum:</pre><pre>256[rcs@vader: ~]$ sudo apt install php-mysqli error type:</pre><pre>UserErrorerror string: !!NoTrans: You are missing a php extension</pre><pre>formysqlinteraction. Please install php-mysqli orsimilar!!</pre><pre>filename:/usr/share/mythtv/mythweb/includes/php_version_check.php</pre><pre>errorline: 20</pre><pre>However:$ sudo apt install php-mysqliReading package lists...</pre><pre>DoneBuilding dependency treeReading stateinformation... DoneNote,</pre><pre>selecting 'php7.2-mysql' instead of 'php-mysqli'php7.2-mysql is</pre><pre>already the newest version (7.2.10-0ubuntu0.18.04.1).0 upgraded,</pre><pre>0 newly installed, 0 to remove and 1not upgraded.What am I</pre><pre>missing?Thanks in advance!When I did the in-place upgrade from</pre><pre>16.04 to 18.04 thefollowingresolved the mythweb issue :sudo mv</pre><pre>/etc/php/7.0/apache2/conf.d/20-</pre><pre>mythweb.ini/etc/php/7.2/apache2/conf.d/20-mythweb.inisudo a2enmod</pre><pre>php7.2 #tosort out apache2sudo systemctl restart apache2I did not</pre><pre>have to do anything with 20-mysqli.iniMike</pre></blockquote><pre><br></pre><pre>Hi, Mike - I had seen your post to that effect previously, and</pre><pre>hadcopied the 20-mythweb.ini file to /etc/php/7.2/apache2/conf.d/</pre><pre>-should have mentioned that also.That didn't solve this problem,</pre><pre>though.Thanks, though!</pre><pre>--Regards,Bob_______________________________________________mythtv-</pre><pre>users mailing </pre><a href="mailto:listmythtv-users@mythtv.org"><pre>listmythtv-users@mythtv.org</pre></a><pre><br></pre><a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users"><pre>http://lists.mythtv.org/mailman/listinfo/mythtv-users</pre></a><pre><br></pre><a href="http://wiki.mythtv.org/Mailing_List_etiquette"><pre>http://wiki.mythtv.org/Mailing_List_etiquette</pre></a><pre><br></pre><pre>MythTV Forums: </pre><a href="https://forum.mythtv.org"><pre>https://forum.mythtv.org</pre></a><pre><br></pre><pre><br></pre></blockquote><pre><br></pre><pre>is mysqli uncommented in php.ini ?</pre><pre><br></pre><pre>Glen:It was in /etc/php/7.2/apache2/php.ini but not in</pre><pre>/etc/php/7.2/cli/php.ini.</pre><pre>I went ahead and uncommented it and restarted - still no change.</pre><pre><scratching my head></pre><pre>Thanks</pre></blockquote><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>i'm using arch linux, so how ubuntu configures apache and php is</pre><pre>different. for me i just used the git for mythweb, and followed this</pre><pre>wiki</pre><a href="https://wiki.archlinux.org/index.php/MythWeb"><pre>https://wiki.archlinux.org/index.php/MythWeb</pre></a><pre> and it has always</pre><pre>worked. i would still take a look at the arch wiki and see if you can</pre><pre>relate it back to ubuntu. also have a look and double check the</pre><pre>open_basedir folders in the php.ini and make sure everything you are</pre><pre>pointing to is in the list. i hope something in there helps you get it</pre><pre>work</pre></blockquote><pre><br></pre><pre><br></pre><pre>Hi, Glen - thanks</pre><pre><br></pre><pre>Mythweb is already set up as per the wiki. However, open_basedir in </pre><pre>php,ini is commented out. Never have set it before. Which directory </pre><pre>should it be set to, if used?</pre><pre><br></pre><pre>This is driving me nuts. The mysqli extension *is* being loaded, as </pre><pre>when I uncomment the "extension = mysqli" line in both /etc/php/7.2/cli </pre><pre>and /etc/php/7.2/apache2, php --version tells me that the module has </pre><pre>already been loaded.</pre><pre><br></pre><pre>Thanks -</pre><pre>Bob</pre><pre>_______________________________________________</pre><pre>mythtv-users mailing list</pre><a href="mailto:mythtv-users@mythtv.org"><pre>mythtv-users@mythtv.org</pre></a><pre><br></pre><a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users"><pre>http://lists.mythtv.org/mailman/listinfo/mythtv-users</pre></a><pre><br></pre><a href="http://wiki.mythtv.org/Mailing_List_etiquette"><pre>http://wiki.mythtv.org/Mailing_List_etiquette</pre></a><pre><br></pre><pre>MythTV Forums: </pre><a href="https://forum.mythtv.org"><pre>https://forum.mythtv.org</pre></a><pre><br></pre></blockquote><pre><br></pre><pre>bob, the mythweb wiki for arch i gave you above tells you, but it would depend on your setup; the wiki has:</pre><pre><pre style="font-family: monospace; color: rgb(34, 34, 34); background-color: rgb(235, 241, 245); border: 1px solid rgb(187, 204, 221); padding: 1em; line-height: 1.3em; overflow: auto; word-break: break-all; font-variant-ligatures: normal; orphans: 2; widows: 2; white-space: pre-wrap !important;">open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/var/lib/mythtv/mythweb:/usr/share/mythtv/
</pre><div><br></div><div>again this is the arch wiki for it, so the /srv/http would have to change to where your apache is pointing to server pages at the root dir, so i would change that and include everything else and start there. for some reason i also have /usr/share/mythtv/bindings/php i am not sure when i did that. but mine has always worked fine. maybe this will help. without and open_basedir i don't think mythweb would work</div></pre></body></html>