Tweaking Joomla 1.5 for PHP 5.3.x

Joomla > Core

Joomla 1.0 has a few things that break under PHP 5.3.x, as a number of users have found over time. How to fix them are found in my other article on the topic but there's also some issues that may pop up in Joomla 1.5 due to timezone changes with PHP 5.3

Timezones

PHP 5.3 has seen some changes as to how the timezones are set.

The easiest solution I've found for fixing that aspect is to place some timezone code in the .htaccess file for your site. Assuming you're using it for SEF URLs already, it will have been renamed from htaccess.txt, so you should just need to edit your .htaccess file.

Add the following, chaning your timezone to your required timezone:

# set the server timezone
SetEnv TZ Australia/Victoria

Original post for helping with this solution. For a full list of timezones, see the PHP Reference Manual.

This fix has also worked to fix:

  • phpBB 2 forum
  • smf forum
  • Joomla 1.0
  • Mambo 4.6


 

Comments  

 
0 #1 freelance writer 2012-01-30 20:05
This is very important changes. Thank you for this information.
P.S. This post helps me with solution!
Quote
 

Add comment


Security code
Refresh