Re: apc breaks pear::mdb2

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

 



Michael A. Peters wrote:
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


Changing apc.cache_by_default to 0 also fixes it, so it seems it has a problem with how it caches pear/mdb2 stuff.

--
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