Hi Aaron,

As far as I know this is the only way of reparing the timezone database.
Have you tried 'apt-get -f install' to fix the broken dependencies?

I am pretty sure you are going to need phpize (from php5-dev) to get the PECL module installed.

Cheers,
Stig

Aaron Cooper wrote:
Morning,
 
This relates to PHP 5.2.0.8 on Debian
 
We've realized a problem where one of our web servers php timezone system still has the end of Daylight savings in NZ on the old date (A week early) and although the server is reporting the correct time, our PHP scripts are an hour behind.
 
I found this blog entry about installing the PECL timezonedb module: http://www.electrictoolbox.com/correct-php-timezone/.
 
I have a few problems with this.
 
First the command "pecl install timezonedb" gives me an error:
# pecl install timezonedb
downloading timezonedb-2009.4.tgz ...
Starting to download timezonedb-2009.4.tgz (191,230 bytes)
.................done: 191,230 bytes
5 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed
I found that this phpize error can be fixed by installing php5-dev. However the command "apt-get install php5-dev" fails with the following:
The following packages have unmet dependencies:
  php5-dev: Depends: libssl-dev but it is not going to be installed
                 Depends: libtool but it is not going to be installed
E: Broken packages
I have tried installing those two packages seperately, however the give a similar error that some dependencies are unmet and will not be installed.
 
Any ideas of an easier method of getting this timezone extension installed with dependancies?
 
Cheers
Aaron
 
 
 




--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to