ZF-12371: ZendServer_ShMem cannot be loaded on linux

Issue Type: Bug Created: 2012-08-16T12:15:31.000+0000 Last Updated: 2012-09-10T08:20:18.000+0000 Status: Closed Fix version(s): Reporter: Michiel Thalen (chielsen) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend_Cache

Related issues: Attachments:


Due to the fact that linux has case sensitive paths, i cannot load ZendServer_ShMem.

In Zend_Cache::__makeBackend_ there is a call to Zend_Cache::__normalizeName_. In Zend_Cache::__normalizeName_ the capital M in ShMem is lost. This causes that the right file cannot be loaded.


Posted by Marc Bennewitz (private) (mabe) on 2012-09-10T08:20:18.000+0000

As you noted Zend_Cache::normalizeName will lower case name of the backend/frontend you should also noted that this method concatenate words seperated by "-", "" and "." and upper case the first character of each word.

-> Please name it zend-server-sh-mem or similar

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.