On Wed, January 24, 2007 9:17 am, Sancar Saran wrote: > After updating company test server to dotdeb 5.2.0 it star to give > memory > problems (even 32mb session). I tought it was because of suhosin. And > I > cannot update that server to vanilla debian php5 package because it > was a > sarge so today my company gives me another debian etch (like my home > pc). I > setup latest php 5.2.0.8 for debian etch. > > Then unserialize gives another problem > > Message: unserialize(): Error at offset 1384 of 3177 bytes > Code: 8 > Line: 419 > > My pc uses debian etch and have php 5.1.6-5 my scripts working > normally. > > Is there any suggestion for handle this ? What is in the data at byte 1384 that can't be unserialized? Are you trying to take data serialized by one version of PHP and unserialize it with another? That does not work in current versions, though discussion on Internals lends hope that future versions will be able to deal intelligently with this situation. Check http://bugs.php.net/ for similar bugs -- there may be a patch. Also check with suhosin and Debian bug tracking, as it may be specific to either of those. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php