Opened 9 years ago
Closed 9 years ago
#12843 closed Bug Report - General (Invalid)
MythWeb failure after .27 -> 2.8 upgrade
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Plugin - MythWeb | Version: | 0.28.0 |
Severity: | high | Keywords: | mythweb php mysql |
Cc: | Ticket locked: | no |
Description
MythWeb entry page has a fatal error as follows:
datetime: 2016-07-31 10:03:18 (EDT) errornum: 256
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
==========================================================================
Backtrace:
file: /usr/share/mythtv/mythweb/includes/php_version_check.php line: 20
class:
function: trigger_error
type: args: Array
(
[0] => You are missing a php extension for mysql interaction. Please install php-mysqli or similar [1] => 256
)
The recommended package, php-mysqli,doesn't seem to exist anymore.
Solved by running the following command as root:
apt-get install php-mysql
which installed php-mysql and php7.0-mysql
after a restart of apache2, MythWeb was available!