Nuno Lopes wrote:
Hello Marcus,

PHP prints an error for every file in /usr/local/lib/php/.registry
One of those files: http://testes.aborla.net/pear.reg

prints:
"Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on line 5"

This file is truncated, please verify that it indeed does not start with a:{


A valid .reg file (for the Cache package) is attached, perhaps you could use it to test unserialize on your end. I suspect something happened and a program ate something from your PEAR installation.

Greg



a:13:{s:8:"provides";a:0:{}s:8:"filelist";a:19:{s:9:"Cache.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"0907fd6e62afac15fd49004fc8f87531";s:12:"installed_as";s:35:"C:\Program
 
Files\php\pear\Cache.php";}s:15:"Application.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"961109c1150fa2c591d489d09a482c1a";s:12:"installed_as";s:47:"C:\Program
 
Files\php\pear\Cache\Application.php";}s:13:"Container.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"de8b04fb0b7718bb82902d89eb40db85";s:12:"installed_as";s:45:"C:\Program
 
Files\php\pear\Cache\Container.php";}s:6:"DB.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"8858357777f9d79c18f56e544fd3bda9";s:12:"installed_as";s:38:"C:\Program
 
Files\php\pear\Cache\DB.php";}s:9:"Error.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"cf5ff11a4b03b492ff83a112053c68b0";s:12:"installed_as";s:41:"C:\Program
 
Files\php\pear\Cache\Error.php";}s:12:"Function.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"5067874709b31f6991090f9a623cde6c";s:12:"installed_as";s:44:"C:\Program
 
Files\php\pear\Cache\Function.php";}s:12:"Graphics.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"4c32296f6589a6acac526168b1b77985";s:12:"installed_as";s:44:"C:\Program
 
Files\php\pear\Cache\Graphics.php";}s:16:"HTTP_Request.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"5bf41e4e9806e7bd3352202010b6205a";s:12:"installed_as";s:48:"C:\Program
 
Files\php\pear\Cache\HTTP_Request.php";}s:10:"Output.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"fec392bdeffe859ceea6827862a0d8d2";s:12:"installed_as";s:42:"C:\Program
 
Files\php\pear\Cache\Output.php";}s:21:"OutputCompression.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"096dffd59f720666014f4b475712eeaa";s:12:"installed_as";s:53:"C:\Program
 
Files\php\pear\Cache\OutputCompression.php";}s:16:"Container/db.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"4bee336dcb776eb49a438bc43efa9539";s:12:"installed_as";s:48:"C:\Program
 
Files\php\pear\Cache\Container\db.php";}s:17:"Container/dbx.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"24a825e7b306e80c33e80e38c2c6f207";s:12:"installed_as";s:49:"C:\Program
 
Files\php\pear\Cache\Container\dbx.php";}s:17:"Container/mdb.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"0bf176516a288a2bc97947ecb99107d0";s:12:"installed_as";s:49:"C:\Program
 
Files\php\pear\Cache\Container\mdb.php";}s:30:"Container/mdb_cache_schema.xml";a:4:{s:4:"role";s:4:"data";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"f769958f25c4b7d56835c7366392dad4";s:12:"installed_as";s:61:"C:\Web
 
Pages\chiara\pear\Cache\Container\mdb_cache_schema.xml";}s:18:"Container/file.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"8a2c816f639fec7a8f5b06f843b3c537";s:12:"installed_as";s:50:"C:\Program
 
Files\php\pear\Cache\Container\file.php";}s:22:"Container/msession.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"bcac46a48655bafa2db66cab5c5a085e";s:12:"installed_as";s:54:"C:\Program
 
Files\php\pear\Cache\Container\msession.php";}s:20:"Container/phplib.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"85eea28e98ec4d6b9f27c8fee46d8e1f";s:12:"installed_as";s:52:"C:\Program
 
Files\php\pear\Cache\Container\phplib.php";}s:17:"Container/shm.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Cache";s:6:"md5sum";s:32:"b4c92b8a9281ab613f671f08178a6c0e";s:12:"installed_as";s:49:"C:\Program
 Files\php\pear\Cache\Container\shm.php";}s:7:"dirtree";a:5:{s:25:"C:\Program 
Files\php\pear";b:1;s:31:"C:\Program Files\php\pear\Cache";b:1;s:41:"C:\Program 
Files\php\pear\Cache\Container";b:1;s:40:"C:\Web 
Pages\chiara\pear\Cache\Container";b:1;s:40:"C:\Web 
Pages\chiara\pear\\CacheContainer";b:1;}}s:7:"package";s:5:"Cache";s:7:"summary";s:40:"Framework
 for caching of arbitrary data.";s:11:"description";s:151:"With the PEAR Cache you can 
cache the result of certain function
calls, as well as the output of a whole script run or share data
between 
applications.";s:11:"maintainers";a:3:{i:0;a:4:{s:6:"handle";s:6:"chregu";s:4:"name";s:17:"Christian
 Stocker";s:5:"email";s:14:"[EMAIL 
PROTECTED]";s:4:"role";s:4:"lead";}i:1;a:4:{s:6:"handle";s:9:"sebastian";s:4:"name";s:18:"Sebastian
 Bergmann";s:5:"email";s:24:"[EMAIL 
PROTECTED]";s:4:"role";s:4:"lead";}i:2;a:4:{s:6:"handle";s:2:"uw";s:4:"name";s:10:"Ulf 
Wendel";s:5:"email";s:20:"[EMAIL 
PROTECTED]";s:4:"role";s:9:"developer";}}s:7:"version";s:5:"1.5.3";s:12:"release_date";s:10:"2003-02-19";s:15:"release_license";s:11:"PHP
 License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:229:"- Added 
Lorenzo Alberton's MDB_Container
- added max_userdata_filelength as option to file container
- added (optional) filelocking to file container (by dave winer)
- fixes in errorchecking and garbage collection in db 
container";s:12:"release_deps";a:1:{i:1;a:3:{s:4:"type";s:3:"pkg";s:3:"rel";s:3:"has";s:4:"name";s:12:"HTTP_Request";}}s:13:"_lastmodified";i:1070488922;}
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to