6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10288] Xcache breaks PHP CLI scripts
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . ..___.. . |_/ [__)|\ | | |__| | \[__)| \| | | |
Comment
> Hello, > > I am using the Horde Framework version 4.0.6, and set up Xcache as > the caching backend. I found out my Horde logs were being spammed by > the following messages: > > ---- > 2011-06-28T14:43:57+02:00 WARN: HORDE PHP ERROR: xcache_get(): > xcache.var_size is either 0 or too small to enable var data caching > [pid 13972 on line 95 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:57+02:00 WARN: HORDE PHP ERROR: xcache_unset(): > xcache.var_size is either 0 or too small to enable var data caching > [pid 13972 on line 100 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:57+02:00 WARN: HORDE PHP ERROR: xcache_unset(): > xcache.var_size is either 0 or too small to enable var data caching > [pid 13972 on line 101 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:57+02:00 WARN: HORDE PHP ERROR: xcache_get(): > xcache.var_size is either 0 or too small to enable var data caching > [pid 13972 on line 39 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:57+02:00 WARN: HORDE [horde] PHP ERROR: > xcache_set(): xcache.var_size is either 0 or too small to enable var > data caching [pid 13972 on line 51 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:57+02:00 WARN: HORDE [horde] PHP ERROR: > xcache_set(): xcache.var_size is either 0 or too small to enable var > data caching [pid 13972 on line 51 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > 2011-06-28T14:43:58+02:00 WARN: HORDE [horde] PHP ERROR: > xcache_set(): xcache.var_size is either 0 or too small to enable var > data caching [pid 13972 on line 51 of > "/usr/share/php/Horde/Cache/Storage/Xcache.php"] > ------ > > These messages occured only when running one of Horde's CLI scripts > in /usr/bin. Caching via the web server seems to work fine. It turned > out that Xcache doesn't support PHP CLI, and won't do in the future. > This seems to generate these notices. > http://xcache.lighttpd.net/ticket/228 > > When I disable the Xcache backend in Horde, PHP CLI scripts like > horde-alarms run just fine without logfile spamming. > > I tried a workaround by disabling Xcache in php.ini for the CLI, but > that generates just another obvious error: > --- > PHP Fatal error: Call to undefined function xcache_set() in > /usr/share/php/Horde/Cache/Storage/Xcache.php on line 51 > --- > > The solution would propably for Horde be to disable Xcache when it is > being called from the CLI. > > Thank you, > Stan Hisken
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers