On 03 févr. 2018 20:38, "Mark Paulus" <mark.paulus@???> wrote:
> It looks like I broke my mythweb when updating to stretch and stretch-backports.
> Mythweb doesn't list a dependency on php5, but it is there, and stretch doesn't have php5 in it anymore
> (looks like it's
> only in jessie/oldstable).
> When I removed php5 from my mythtv system (because it was in status
> I start getting this error:
> apache2_reload: Your configuration is broken. Not reloading Apache 2
> apache2_reload: [Sat Feb 03 12:18:14.976979 2018] [so:warn] [pid 2818] AH01574: module dav_module is
> already loaded, skipping
> apache2_reload: AH00526: Syntax error on line 110 of /etc/apache2/conf-enabled/mythweb.conf:
> apache2_reload: Invalid command 'php_value', perhaps misspelled or defined by a module not included in
> the server configuration
> Googling takes me here:
> https://www.mythtv.org/wiki/MythWeb#Apache_won.27t_start:_.22Invalid_command_.27php_value.27.22
> which states:
>
> If Apache fails to start after installing MythWeb, giving the error:
>
> Syntax error on line 113 of /etc/apache2/modules.d/mythweb.conf:
> Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
>
> Double check that the PHP5 module is being loaded.
Mythweb should work with PHP 7.
You must enable phph 7 :
sudo a2enmod php7.0
sudo systemctl restart apache2
Christian