GrabPERF Server updated to PHP 5.1 RC1

In: smp

6 Sep 2005

I was having issues upgrading the site to PHP 5.1, mainly because it broke a number of the GrabPERF graphs.

Then I read the PHP docs. Turns out that there have been some internal changes to the strtotime() function. I had been using strtotime(date(Ymd H), time()) in the broken graphs; this now returns FALSE, not a numeric value.

A simple switch to strtotime(date(YmdH0000), time()) resolved the problem entirely.

If you see any weirdness, let me know!

Spread the Love:
  • Facebook
  • Twitter
  • Ping.fm
  • Digg
  • StumbleUpon
  • LinkedIn
  • Reddit
  • Slashdot
  • Netvouz
  • Identi.ca
  • Technorati
  • del.icio.us
  • email

Related Posts

blog comments powered by Disqus

About this blog

Stephen Pierzchala is one of a 10-year veteran of the Web performance field who also writes on topics that interest his non-linear world-view.

Contact

stephen@pierzchala.com

+1 (508) 410-3865