Answers.Body: <p>It turns out joomla on the cpanel install in question linux reads the php.ini file from the /administrator directory not site root. I had put one in the root dierctory and had checked if php was reporting it correctly and it was. So now fixed. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-18T05:34:46.950Z
Answers.LastActivityDate: 2016-02-22T03:55:06.393Z
Answers.LastEditDate: 2016-02-22T03:55:06.393Z
Answers.UserDisplayName: JustinL
Body: <p>For some reason Civi is using UTC and not the Joomla time. The system, and php and mysql times are reporting correctly (Brisbane)
  . 
  For Mysql I have run the following to get its time;</p>
  
  <p>SELECT NOW() AS 'NOW';</p>
  
  <p>For PHP I ran this</p>
  
  <p>echo 'PHP date: ' . date('Y-m-d H:i:s');</p>
  
  <p>Both report correct time.
  I also set the time zone in a local php.ini file and php is picking this up and reporting this correctly. </p>
  
  <p>The error that Civi displays shows PHP as having the wrong time. </p>
  
  <p>I see a timezone table in the database which is empty. Can I hardcode it in there? What else might be going on?</p>
  
Tags: <joomla><php><mysql><timezone>
Title: Joomla timezone mismatch
ThreadText: # Joomla timezone mismatch
  
  (Asked by: username_0 on 2016-02-18)
  
  For some reason Civi is using UTC and not the Joomla time. The system, and php and mysql times are reporting correctly (Brisbane)
  .
  For Mysql I have run the following to get its time;
  
  SELECT NOW() AS 'NOW';
  
  For PHP I ran this
  
  echo 'PHP date: ' . date('Y-m-d H:i:s');
  
  Both report correct time.
  I also set the time zone in a local php.ini file and php is picking this up and reporting this correctly.
  
  The error that Civi displays shows PHP as having the wrong time.
  
  I see a timezone table in the database which is empty. Can I hardcode it in there? What else might be going on?
  
  **Tags:** joomla, php, mysql, timezone
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-02-18. Score: 1 | Accepted answer
  
  It turns out joomla on the cpanel install in question linux reads the php.ini file from the /administrator directory not site root. I had put one in the root dierctory and had checked if php was reporting it correctly and it was. So now fixed.
  
  
  ---
  
  