Hi.
On 16.01.2009 17:12 Uhr, Pierre Joye wrote:
The problem is exactly the same on any OS, only the size varies. The
limit is not higher either. What do you use as naming for your
entries?
Oe example with 229 characters:
/Users/karsten/Sites/typo3v5/Data/Temporary/6e7991cd3e3f10e110df4a26825c1f8c/_www/Cache/Testing/Tags/%CLASS%F3_Widget_Persistence_MessageQueuePersistenceAspect/FLOW3_Reflection-F3_Widget_Persistence_MessageQueuePersistenceAspect
For deeper nested namespaces this will get longer, add some deeper
directory structure at the start and - bang.
Now, I never ran into problems with paths being too long for anything I
tried on Linux or Mac, so what limits exist? Admittedly I never thought
about that much. Given we live in a world of terabytes I'd expect names
to be virtually as long as I want. :)
Btw, what do you do when the path len of the path where the cache is
stored is closed from MAXPATHLEN (PHP_MAXPATHLEN in userland)? Given
than MAXPATHLEN can be between 260 and 2048 (~), that' can happen
easily.
Never heard of that constant, thanks for pointing it out. The
documentation doesn't explain it, is there some background information
available somewhere?
So, in the best case we hit the roof at ~2k? Good to know...
Thanks,
Karsten
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php