do you know how to use ssh file transfer? i know in the source code fix. Donovan wrote: > Looks like FreeBSD 6.x > Right now it looks like trying to update via ports is pretty horked on > this system. The guy who built this server was a fan of FreeBSD but I > don't think he ever managed a FreeBSD long term through the necessary > upgrades. BSD's not really my familiar territory so I'm not inclined > to troubleshoot ports. > I'm prepping a new web server but was hoping in the meantime I might > be missing something trivial to scotch-tape this thing into holding on > for a few hours. > On 10/31/07, Anna Edwards <anna2edw at yahoo.com> wrote: >> i dont know. what distro are you using? you could probibilly just update php to 5.20+. >> >> Donovan wrote: >> > I have an apache2/php server running that decided DST was last week >> > (must not have been patched last year). I patched everything I could >> > and my PHP apps are still showing an hour behind, only from the web. >> > If I run the following code from bash: >> > # date >> > Wed Oct 31 06:32:47 CDT 2007 >> > # echo '<?=date("h:i:s")?>' | php >> > 06:32:47 >> > ...I get the correct time. Thinking that maybe somehow PHP is >> > misreading the timezone I tried this: >> > # echo '<? >> > echo "Original Time: ". date("h:i:s")."\n"; >> > putenv("TZ=US/Central"); >> > mktime(0,0,0,1,1,1970); >> > echo "New Time: ". date("h:i:s")."\n"; >> > ?> ' | php >> > ...and strangely receive this: >> > Original Time: 06:33:26 >> > New Time: 11:33:26 >> > There is no timezone set in my php.ini and nothing hard set in any of >> > my PHP scripts. I seem to be missing something major. I'm tempted to >> > move the few sites I have on this box to a fresh and DST patched >> > system but it'd be nice to see if somebody has racked their brain with >> > this one before. >> > -- >> > Donovan Niesen >> > _______________________________________________ >> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> > tclug-list at mn-linux.org >> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> > -- > Donovan Niesen __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com