Symfony php.ini Debian
I am using a LAMP Debian 7 amd64 server in a VM VM. I am trying to install Symfony and I am having problems with lil
When I run the command: php my_project_name / app / check.php
It says:
[ERROR] Your system is not ready to run Symfony2 projects. Fix the following prerequisites:
- set parameter date.timezone> Set setting "date.timezone" in php.ini * (eg in Europe / Paris).
I already tried to edit php.ini file with the following command: sudo nano / etc / php5 / apache2 / php.ini
and there in the [date] section ; removed ; and edited: date.timezone = Europe / Helsinki
after restart.
the correct timezone exists at http: //localhost/phpinfo.php .
Default time zone Europe / Helsinki, (Local value) date.timezone Europe / Helsinki, (Primary value) Europe / Helsinki
Any tips? Could there be another php.ini file that Symfony uses?
+3
source to share