My Flow / Typo3 installation annoyances.

Error message: Flow requires the PHP setting "date.timezone" to be set. (Error #1342087777)

Answer found at: as follows:
Question : How to change the date.timezone value in PHP?

Open php.ini

sudo vi /etc/php5/apache2/php.ini

and look search

; Defines the default timezone used by the date functions.
;date.timezone =

make some thing :

date.timezone = "Europe/Amsterdam"
Now save and close and restart your apache.

/etc/init.d/apache2 restart

Of course, get rid of the little starting semicolon to make it 'active'.
--The foregoing example had a screenshot of the semicolon still intact after an example timezone was put in. UGH!


[03:35] devonmcb welcome here. what do you need to know?
[03:35] ./flow kickstart:package Acme.Demo
[03:35] and I get error message...
[03:35] Flow requires the PHP setting "date.timezone" to be set...
[03:35] but it is set
[03:36] and the web page works (I had that error before with the web page)
[03:36] == dfeyer [~dfeyer@] has joined #typo3-flow
[03:36] yep, but mind you that some distributions have separate php.ini files for web and cli
[03:36] it is possible that CLI uses different php.ini (or different php version altogether)
[03:36] == patrickbroens [] has joined #typo3-flow
[03:36] yes
[03:36] that could be
[03:36] you can check php version with php -v
[03:36] and phpinfo output on cli with
[03:36] devonmcb: running $php --ini will give more information
[03:36] php -i
[03:37] hm...OK... What's "cli"?
[03:37] command line interface
[03:37] hm...OK
[03:37] I'll try some of that
[03:38] you guys are very resonsive!
[03:39] *responsive
[03:39] well, it is friday and I jump on any reason to slack off work :D

I used (via googling "IRC"):
freenode Web IRC (qwebirc)
Javascript is required to use IRC.

I learned about that from Typo3's support page:

$ mysql -u root -p
Enter password:

mysql> create database typo3flow;
Query OK, 1 row affected (0.00 sec)

mysql> grant usage on *.* to devonmcb@localhost identified by ‘--the password--’;
Query OK, 0 rows affected (0.00 sec)

mysql> grant all privileges on typo3flow.* to devonmcb@localhost ;
Query OK, 0 rows affected (0.03 sec)

I found in:
$ cd /etc/apache2/sites-available/

...that I had a default, and one I had done called typo3flow also. I copied the part for typo3flow that was in the typo3flow file, and pasted it into the default file. (remember to use sudo).

Restart apache:
/etc/apache2/sites-available$ sudo /etc/init.d/apache2 restart

And it didn't work.