apc breaks pear::mdb2
| From: | Michael A. Peters | Date: | Fri, 03 Jul 2009 10:41:18 +0000 |
| Subject: | apc breaks pear::mdb2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-294856@lists.php.net to get a copy of this message | ||
php 5.2.10
apc 3.0.19
With apc enabled, pear package mdb2 breaks with following error:
<b>Fatal error</b>: Class 'PEAR' not found in <b>/usr/share/pear/MDB2/Driver/mysql.php</b> on line <b>876</b><br />
disabling apc and site works just dandy again.
; Enable apc extension module
extension = apc.so
; Options for the apc module
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=64
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
apc.cache_by_default=1
apc.stat=0
Last one I added after seeing this:
http://pecl.php.net/bugs/bug.php?id=15356
but that's not my problem
from the apc.php -
apc.cache_by_default 1
apc.coredump_unmap 0
apc.enable_cli 1
apc.enabled 1
apc.file_update_protection 2
apc.filters
apc.gc_ttl 3600
apc.include_once_override 0
apc.max_file_size 1M
apc.mmap_file_mask /tmp/apc.BJhspx
apc.num_files_hint 1024
apc.report_autofilter 0
apc.rfc1867 0
apc.rfc1867_freq 0
apc.rfc1867_name APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_
apc.shm_segments 1
apc.shm_size 64
apc.slam_defense 0
apc.stat 0
apc.stat_ctime 0
apc.ttl 7200
apc.user_entries_hint 4096
apc.user_ttl 7200
apc.write_lock 1
Any suggestions about what configuration is borking pear?