Re: About functions
| From: | shire | Date: | Thu, 26 Mar 2009 18:45:16 +0000 |
| Subject: | Re: About functions | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6266@lists.php.net to get a copy of this message | ||
Sorry, I need to update these patches. These changes are now available in the latest CVS HEAD of APC. Plesae try there.
-shire
Developer wrote:
El mar, 24-03-2009 a las 11:20 -0700, shire escribió:After apply your patch (http://mirror.facebook.com/facebook/patches/apc_bindump-1.patch) to APC 3.0.15 version I can not do nothing usable: a) apc_fecth requires only only parameters (should be 2)PHP_FUNCTION(apc_bin_dump); PHP_FUNCTION(apc_bin_load); PHP_FUNCTION(apc_bin_dumpfile); PHP_FUNCTION(apc_bin_loadfile);Warning: apc_fetch() expects exactly 1 parameterb) apc_bin_dumpfile(array('/localhost/content/public_html/apc.php'), array ('var'), '/tmp/outAPC.bin'); // ,flags , resource context) generates segfault with apc_stat=0, without it:[Thu Mar 26 11:27:35 2009] [apc-warning] Excluding some files from apc_bin_dump[file]. Cached files must be included using full path with apc.stat=0.c) apc_bin_dump(); Segfault Need specific PHP version? Any suggestion? -- Configuration options: -- APC Version 3.0.15 PHP Version 5.2.9 APC Host localhost Server Software Apache/2.2.10 (Fedora) mod_ssl/2.2.10 OpenSSL/0.9.8g mod_python/3.3.1 Python/2.5.2 Shared Memory 1 Segment(s) with 32.0 MBytes (mmap memory, file locking) apc.cache_by_default 1 apc.enable_cli 1 apc.enabled 1 apc.file_update_protection 2 apc.filters apc.gc_ttl 3600 apc.include_once_override 0 apc.localcache 0 apc.localcache.size 512 apc.max_file_size 1M apc.mmap_file_mask /tmp/apc.JDOnnX apc.num_files_hint 1000 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 32 apc.slam_defense 0 apc.stat 1 or 0 (segfault) apc.stat_ctime 0 apc.ttl 0 apc.user_entries_hint 4096 apc.user_ttl 0 apc.write_lock 1