[mythtv-users] mythweb php problem on Ubuntu 18.04

Ken Mandelberg km at mathcs.emory.edu
Fri Aug 17 13:26:57 UTC 2018


Mike Bibbings wrote:

> On 17/08/18 03:20, Ken Mandelberg wrote:
>> I just upgraded from 16.04 to 18.04 on Ubuntu. All went well except 
>> apache2 faults on mythweb
>>
>>    Syntax error on line 117 of /etc/apache2/sites-enabled/mythweb.conf
>>
>> which is
>>
>>   php_value file_uploads                  0
>>
>> I run a build off the trunk and mythweb.conf is the current 
>> mythweb.conf.apache
>>
>> I've seen this error in other reported in other OS updates. Any 
>> suggestions?
>>
> Was it an in-place upgrade from 16.04 to 18.04 ?
> 
> If so, when I tried it (on 18.04 not 18.04.1) some months ago I had to 
> do the following because php 7.2 was installed by the in-place upgrade:
> 
> sudo mv /etc/php/7.0/apache2/conf.d/20-mythweb.ini 
> /etc/php/7.2/apache2/conf.d/20-mythweb.ini
> sudo a2enmod php7.2 #to sort out apache2
> sudo systemctl restart apache2
> 
> Mike

Thanks! I was doing it in place, but from 16.04 to 18.04. What I needed 
as you suggested was the "a2enmod php7.2"

Ken


More information about the mythtv-users mailing list