Hi guys
Has any one come across this problem where your zoneminder webpage only displays this:ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Even when I've changed these two files etc/php5/apache2/php.ini and cli/php.ini
I have reinstalled acpache2, php5, and zoneminder with no luck.
I have the system working before but only changed the document root and then reinstall, Because i wanted to open zoneminder by localhost only (or ip address).
Is there any find i need to change to Europe/London or to load apache2 php.ini
when i do sudo php -i | grep 'Configuration File'
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
how can i load apache2 php.ini configuration?
(SOLVED)ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
(SOLVED)ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Last edited by Zmptz on Fri Apr 01, 2016 11:38 pm, edited 2 times in total.
Re: ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
What Linux are you using? If Ubuntu there are usually two php.ini files.
If you are using Ubuntu see: https://wiki.zoneminder.com/Ubuntu#Guid ... ntu_Server
If you are using Ubuntu see: https://wiki.zoneminder.com/Ubuntu#Guid ... ntu_Server
Re: ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Ubuntu Server 15.04 or 15.10 64-bit with Zoneminder 1.29.0 the easy way
I tried the setting above I get error with mysql when entering password
also before i changed both php.ini files in directory in etc/php5/apache2 and etc/php5/cli
I still get the same message "ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone"
I tried the setting above I get error with mysql when entering password
Code: Select all
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mysqladmin -uroot -p reload
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password:
Code: Select all
php --ini
Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File: /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed: /etc/php5/cli/conf.d/05-opcache.ini,
/etc/php5/cli/conf.d/10-pdo.ini,
/etc/php5/cli/conf.d/20-gd.ini,
/etc/php5/cli/conf.d/20-json.ini,
/etc/php5/cli/conf.d/20-mysql.ini,
/etc/php5/cli/conf.d/20-mysqli.ini,
/etc/php5/cli/conf.d/20-pdo_mysql.ini,
/etc/php5/cli/conf.d/20-readline.ini
Re: ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
You need to use the MySQL "root" password which may be different from your user password. Remember, you were prompted to set it when you installed Ubuntu and selected LAMP from tasksel?
Does your php.ini entry look like this?
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
Note that you have to remove the ";" before date.timezone...
I have run installs with these instructions several times in the past couple of days. Relax, read and follow the instructions and start over!
Does your php.ini entry look like this?
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
Note that you have to remove the ";" before date.timezone...
I have run installs with these instructions several times in the past couple of days. Relax, read and follow the instructions and start over!
Re: ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Thanks bbunge you done it, it the ; in front of the date.time zone once I removed this and reloaded the apache the site was access and just how I left it. Hm even after I reinstalled ZM.
Thank you
Next I guess will be to sort the MySQL root password. Is there away in resetting without reinstalling?
And also the zoom function for PelcoP.pm this has been bugging me the most.
Thank you
Next I guess will be to sort the MySQL root password. Is there away in resetting without reinstalling?
And also the zoom function for PelcoP.pm this has been bugging me the most.
Re: ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone
Google is your friend for mysql questions...