[PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
I'm using PHP 5.1.2 on IIS. Here in New Zealand, our daylight savings started a week earlier than usual and went into affect this past weekend. The time on my machine is correct. The timezone settings on my machine are correct. But if I display the time on a PHP page, it is 1 hour behind.

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
I discovered that we needed to update the php_timezonedb.dll. This worked fine on our servers and time is now correct. But in my dev environment on my machine, when I put the same dll in (with the same version of PHP), I get a CGI error when PHP tries to do anything. Anyone know why?

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
Yet another update! I managed to get rid of the CGI error by turning off error logging to the syslog. But now I get this message: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_timezonedb.dll' - Access is denied. in Unknown on line 0 As I say, this same dll works

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Jeffery Fernandez
On Monday 01 October 2007 10:08, Bruce Cowin wrote: Yet another update! I managed to get rid of the CGI error by turning off error logging to the syslog. But now I get this message: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_timezonedb.dll' - Access is denied.

Re: [PHP] PHP and daylight savings

2007-09-30 Thread Bruce Cowin
That was it, thanks! I compared the permissions on this dll to another dll extension that loads fine. When I made it the same, it worked. Thanks again! Regards, Bruce Jeffery Fernandez [EMAIL PROTECTED] 1/10/2007 1:23 p.m. On Monday 01 October 2007 10:08, Bruce Cowin wrote: Yet another