Left on the Web

Symfony and PHP 5.2.4 may be a nono

Last week, I automatically updated my PHP installation to the latest version dotdeb was offering me (which usually poses no problems). However, this time around I ended up with two problems.

Last week, I automatically updated my PHP installation to the latest version dotdeb was offering me (which usually poses no problems). However, this time around I ended up with two problems: * Most of my models started throwing errors: Error populating ''x'' object [wrapped: Unable to convert value at column ''x'' to timestamp: 0000-00-00] (or 0000-00-00 00:00:00) * My PHP CLI broke. No more pear, no more symfony cli. The first problem has been solved now, luckily, by following the instructions in this article (and extending them a bit, see the comments to the article). Since Creole isn't developed actively anymore, bugfixes like this will not be implemented into a new version. So you'll have to fix it yourself. Now onto tracing the second problem: Why my CLI was killed. Update: The problem for my CLI was the fact that I had the Suhosin patch installed. Not sure why exactly this became a problem (as I've always had that installed in the past without any problems) but I'm just glad I can now continue working again.
Add comment

Comments

gravatar Bert-Jan: I’ve read about those problems in the symfony forums too and I guess I’ll wait for someone to fix something before I upgrade my servers.


gravatar Stefan: Bert-Jan: well, as it looks the problem with the date will not be resolved unless someone picks up Creole development. For now, manual fixing is the best way to go.

As for the other problem, it seems not to have been related to symfony or php 5.4.2 specifically.


© 2004 - 2008 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Ma.gnolia, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.2.2