[mythtv-users] installing mythweb
Stephen Worthington
stephen_agent at jsw.gen.nz
Sat Sep 19 04:17:22 UTC 2020
On Fri, 18 Sep 2020 14:48:00 -0500, you wrote:
>Hey Peter,
>
>On Fri, Sep 18, 2020 at 2:35 PM Peter Bennett <pb.mythtv at gmail.com> wrote:
>
>>
>> Perhaps it is not finding the bindings.
>>
>> mythweb.php includes the path to your php bindings. It expects to find
>> them in /usr/local/share/mythtv/bindings/php/ or
>> /usr/share/mythtv/bindings/php/. Failing that it looks for "include_path".
>> Check if the php files are in one of those directories. If you have
>> installed somewhere else you can update your
>> /etc/apache2/sites-available/mythweb.conf by uncommenting the "setenv
>> include_path" and putting in the correct path, for example:
>>
>
>They look to be there...
>
>$ ls -lh /usr/local/share/mythtv/bindings/php/
>total 56K
>-rw-r--r-- 1 root root 10K Sep 8 14:20 MythBackend.php
>-rw-r--r-- 1 root root 3.4K Sep 8 14:20 MythBase.php
>-rw-r--r-- 1 root root 7.4K Sep 8 14:20 MythFrontend.php
>-rw-r--r-- 1 root root 4.8K Sep 8 14:20 MythTVChannel.php
>-rw-r--r-- 1 root root 12K Sep 8 14:20 MythTV.php
>-rw-r--r-- 1 root root 2.8K Sep 8 14:20 MythTVProgram.php
>-rw-r--r-- 1 root root 2.0K Sep 8 14:20 MythTVRecording.php
>-rw-r--r-- 1 root root 125 Sep 8 14:20 MythTVStorageGroup.php
>
>Thank you for the suggestion. Any other ideas? I don't do any PHP work and
>am a bit out of my domain here.
>
>-m
I do not do PHP either, but I have been forced to learn little bits
along the way to fix things. From those error messages, I think you
might be having a problem with the PHP version you are running. I
think it is trying to report that you are running too early a version
of PHP, but you have not configured an email address in the Apache
config file, so it then has a problem trying to send a error email.
Try running this command from a prompt:
php -r 'echo PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION, "\n";'
to see what version of PHP is installed. On Ubuntu 18.04, I get
"7.2".
More information about the mythtv-users
mailing list