[mythtv-users] MythWeb: Apache won't start: "Invalid command 'php_value'"
David Hampton
mythtv at love2code.net
Thu Aug 30 04:22:00 UTC 2018
On Wed, 2018-08-29 at 21:02 -0700, Fred Hamilton wrote:
> I just upgraded from Ubuntu 16.04 to 18.04, and impressively MythTV
> is working fine.
>
> Hit a snag with MythWeb, though. When I try to start Apache, I get
> an 'Apache won't start: "Invalid command 'php_value'" ' error.
>
> Fortunately that *exact* problem is covered in the MythWeb
> documentation here.
>
> Unfortunately the recommended fix (a small edit
> to /etc/conf.d/apache2) isn't working because 18.04 doesn't seem to
> have an /etc/conf.d directory!
>
> I grepped around for a file containing "APACHE2_OPTS", but that
> didn't turn up anything either.
>
> Now I'm out of ideas.
I don't know if it will help, but my /etc/apache2/mods-enabled
directory has the following links:
php7.0.conf -> ../mods-available/php7.0.conf
php7.0.load -> ../mods-available/php7.0.load
In the mods-available directory I also see two files for php5, so you
could probably also symlink those instead of the php7 versions.
David
More information about the mythtv-users
mailing list