[mythtv-users] Mythweb -D PHP5
Rick
rick at laity.ca
Fri Nov 18 00:01:38 UTC 2016
On 11/17/2016 4:47 PM, Greg Woods wrote:
> /etc/conf.d/apache2 is not a Fedora path:
>
> # dnf whatprovides /etc/conf.d/apache2
> Last metadata expiration check: 1 day, 0:30:45 ago on Wed Nov 16
> 13:12:30 2016.
> Error: No Matches found
>
> The error message you are getting is probably Ubuntu-specific.
>
> I'm no expert on any of this, but if you have the php package installed,
> you should have /etc/httpd/conf.modules.d/10-php.conf
>
> #
> # PHP is an HTML-embedded scripting language which attempts to make it
> # easy for developers to write dynamically generated webpages.
> #
> <IfModule prefork.c>
> LoadModule php5_module modules/libphp5.so
> </IfModule>
>
> <IfModule !prefork.c>
> LoadModule php5_module modules/libphp5-zts.so
> </IfModule>
>
> That would seem to be what gets httpd (apache) to load the PHP module.
>
> --Greg
>
>
> On Thu, Nov 17, 2016 at 11:21 AM, Rick <rick at laity.ca
> <mailto:rick at laity.ca>> wrote:
>
> On 11/17/2016 12:51 PM, Greg Woods wrote:
>
>
> On Thu, Nov 17, 2016 at 8:17 AM, Rick <rick at laity.ca
> <mailto:rick at laity.ca>
> <mailto:rick at laity.ca <mailto:rick at laity.ca>>> wrote:
>
> What file in Fedora do you place -D PHP5 in order to get
> mythweb to
> work? There is no /etc/conf.d/apache2.
>
>
> The config files for Apache in Fedora are under /etc/httpd, but
> I do not
> see this string anywhere in any of mine and mythweb works fine on my
> Fedora 24 system. Files under httpd that reference PHP are:
>
> conf.d/mythweb.conf
> conf.d/php.conf
> conf.d/ssl.conf
> conf.modules.d/10-php.conf
>
> --Greg
>
>
> Not so on my F24 install. I get the error this refers to.
>
> quote
> Apache won't start: "Invalid command 'php_value'"
>
> 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.
>
> /etc/conf.d/apache2:
>
> APACHE2_OPTS= "..." (add "-D PHP5" to the list)
> unquote
>
> I've done this before to fix the problem but can't for the life of
> me remember what I did.
>
>
> rick
Fixed by reinstalling and going over the install.file line by line. The
error was between my ears.
rick
More information about the mythtv-users
mailing list