From:
Operating system: lenny9
PHP version: 5.2SVN-2010-12-03 (SVN)
Package: Session related
Bug Type: Bug
Bug description:session_start() not compatible with memcache session handler
failover
Description:
------------
memcache extension allows for failover (memcache.allow_failover = 1)
and can be used as a session handler (session.save_handler = memcache)
Unfortunately when failover happens a notice is thrown at session_start().
session_start() [function.session-start]: php_network_getaddresses:
getaddrinfo failed: Name or service not known
Failover still works but the page is completed corrupted.
The manual is misleading: Quote
"memcache.allow_failover boolean
Whether to transparently failover to other servers on errors."
session_start does not deal with this so we can stay "transparent".
--
Edit bug report at http://bugs.php.net/bug.php?id=53459&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53459&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53459&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=53459&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53459&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=53459&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53459&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=53459&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=53459&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=53459&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=53459&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=53459&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=53459&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=53459&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53459&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53459&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53459&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=53459&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=53459&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=53459&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=53459&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=53459&r=mysqlcfg