apc breaks pear::mdb2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux