ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zoneminder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When visiting 'http://
ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Package: zoneminder 1.30.2-xenial1
Way to reproduce (just follow the install instructions step by step):
On a clean LXD container with Ubuntu 16.04.2
-------
add-apt-repository -y ppa:iconnor/
apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
MYSQL_ROOT=
echo mysql-server mysql-server/
echo mysql-server mysql-server/
apt-get -y install zoneminder
mysql -uroot -p$MYSQL_ROOT < /usr/share/
mysql -uroot -p$MYSQL_ROOT -e "grant select,
chmod 740 /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
chown -R www-data:www-data /usr/share/
a2enconf zoneminder
a2enmod cgi
a2enmod rewrite
sed -i 's|;date.timezone =|date-timezone = Europe/Berlin|' /etc/php/
systemctl reload apache2
Status changed to 'Confirmed' because the bug affects multiple users.