problem about apc-Record and share programming errors


  • MultiformeIngegno
    php apc
    I temporarily set apc.enable_cli=1 in apc.ini, then run php -r “apc_clear_cache();” in the terminal to clear APC cache but this is what I got:PHP Warning: PHP Startup: Unable to load dynamic library ‘/opt/php5/lib/php/extensions/no-debug-non-zts-20100525/mcrypt.so’ – /opt/php5/lib/php/extensions/no-debug-non-zts-20100525/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on l

  • fear_matrix
    magento apc
    I am trying to get APC up and running for PHP (magento) but i have this weird problem which is bothering me. I have done my apc installation through the below commandpecl install apc pecl/apc is already installed and is the same as the rel

  • Charles
    php apc
    pecl install apcpecl/apc is already installed and is the same as the released version 3.1.13install failedthis show tha

  • hakre
    php apc fatal-error
    Stumped by this one. This code is giving mePHP Fatal error: Call to undefined method MyObject::helloWorld()But only the seco

  • vascowhite
    zend-framework xampp apc
    I’m trying to install APC on my mac. I’m using XAMPP. I ran this command from the /Applications/XAMPP/xamppfiles/bin directorysudo ./pecl install apc –alldepsI got back a ton of errors. There were several yes/no options which I just typed in what was suggested. Not sure what I’m doing wrong here but I could use some advice if there is any to give. I’ll post the entire installation log.parsePackageName(): invalid package name “–alldeps” in “–alldeps” invalid package name/package file “–alldeps” downloading APC-3.1.9.tar … Starting to download APC-3.1.9.tar (Unknown size) ………………………………………….done: 801,792 bytes 54 source files, building running: phpize-5.3.1 grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main/php.h: No such file or directory grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_modules.h: No such file or directory grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: Enable internal debugging in APC [no] : no Enable per request file info about files used from the APC cache [no] : no Enable spin locks (EXPERIMENTAL) [no] : no Enable memory protection (EXPERIMENTAL) [no] : no Enable pthread mutexes (default) [yes] : yes Enable pthread read/write locks (EXPERIMENTAL) [no] : no building in /var/tmp/pear-build-root/APC-3.1.9 running: /Applications/XAMPP/xamppfiles/temp/pear/temp/APC/configure –enable-apc-debug=no –enable-apc-filehits=no –enable-apc-spinlocks=no –enable-apc-memprotect=no –enable-apc-pthreadmutex=yes –enable-apc-pthreadrwlocks=no checking for grep that handles long lines and -e… /usr/bin/grep checking for egrep… /usr/bin/grep -E checking for a sed that does not truncate output… /usr/bin/sed checking for cc… cc checking for C compiler default output file name… a.out checking whether the C compiler works… yes checking whether we are cross compiling… no checking for suffix of executables… checking for suffix of object files… o checking whether we are using the GNU C compiler… yes checking whether cc accepts -g… yes checking for cc option to accept ISO C89… none needed checking how to run the C preprocessor… cc -E checking for icc… no checking for suncc… no checking whether cc understands -c and -o together… yes checking for system library directory… lib checking if compiler supports -R… no checking if compiler supports -Wl,-rpath,… yes checking build system type… i686-apple-darwin11.2.0 checking host system type… i686-apple-darwin11.2.0 checking target system type… i686-apple-darwin11.2.0 checking for PHP prefix… /Applications/XAMPP/xamppfiles checking for PHP includes… -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1 -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/TSRM -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext/date/lib -I/Applications/XAMPP/xamppfiles/include checking for PHP extension directory… /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix… /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php checking if debug is enabled… no checking if zts is enabled… no checking for re2c… no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk… no checking for nawk… no checking for awk… awk checking if awk is broken… no checking whether to enable APC support… yes, shared checking whether we should enable cache request file info… no checking whether we should use mmap… yes checking whether we should use semaphore locking instead of fcntl… no checking whether we should use pthread mutex locking… yes pthread mutexs are supported! checking whether we should use pthread read/write locking… no checking whether the target compiler supports builtin atomics… yes checking whether we should use spin locks… no checking whether we should enable memory protection… no checking for zend_set_lookup_function_hook… no checking for sigaction… yes checking for union semun… yes checking whether we should enable valgrind support… checking for ANSI C header files… yes checking for sys/types.h… yes checking for sys/stat.h… yes checking for stdlib.h… yes checking for string.h… yes checking for memory.h… yes checking for strings.h… yes checking for inttypes.h… yes checking for stdint.h… yes checking for unistd.h… yes yes checking valgrind/memcheck.h usability… no checking valgrind/memcheck.h presence… no checking for valgrind/memcheck.h… no checking for shm_open in -lrt… no checking for ld used by cc… /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld… no checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files… -r checking for BSD-compatible nm… /usr/bin/nm checking whether ln -s works… yes checking how to recognise dependent libraries… pass_all checking dlfcn.h usability… yes checking dlfcn.h presence… yes checking for dlfcn.h… yes checking the maximum length of command line arguments… 196608 checking command to parse /usr/bin/nm output from cc object… rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory ok checking for objdir… .libs checking for ar… ar checking for ranlib… ranlib checking for strip… strip rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking if cc static flag works… rm: conftest.dSYM: is a directory yes checking if cc supports -fno-rtti -fno-exceptions… rm: conftest.dSYM: is a directory no checking for cc option to produce PIC… -fno-common checking if cc PIC flag -fno-common works… rm: conftest.dSYM: is a directory yes checking if cc supports -c -o file.o… rm: conftest.dSYM: is a directory yes checking whether the cc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries… yes checking dynamic linker characteristics… darwin11.2.0 dyld checking how to hardcode library paths into programs… immediate checking whether stripping libraries is possible… yes checking if libtool supports shared libraries… yes checking whether to build shared libraries… yes checking whether to build static libraries… nocreating libtoo

  • Book Of Zeus
    php apc easyphp
    I’ve been tying to follow this guide for integrating Doctrine 2 and CI 2. all was good until i ran “php doctrine-cli.php orm:generate-proxies” from a cmd, and got this er

  • Mehmet Karcı
    php apc pecl
    I’m trying to install apc as static pecl module (from this link: http://php.net/manual/en/install.pecl.static.php), when i try to “make”, i’m getting the following errorext/apc/.lib

  • thirtydot
    php apc e-notices
    I got APC 3.1.9 setup on my Linux box running PHP 5.3.6.Caching works fine but I have noticed in our error logs, that APC throws a lot of PHP notices, such as:[Wed Jun 29 01:08:56 2011] [error][client ip] PHP No

  • banzsh
    wordpress apc
    Just installed APC on my host and Call to undefined function get_option()

  • Andresch Serj
    symfony2 doctrine2 apc query-builder doctrine-query
    I deleted a property (teaser) from an enitiy (sale). I used the CLi to update the database & entites:$ php app/console doctrine:schema:update –complete –force $ php app/console doctrine:generate:entities Our –no-backup $ php app/console doctrine:cache:clear-metadata $ php app/console doctrine:cache:clear-resultAnd i cleared the cache:$ php app/console cache:clear –no-optional-warmers –no-warmupNow i have a query created by query builde

  • Geoff
    php apache ubuntu apc
    First, versions:Apache 2.2.22 PHP 5.3.10 Ubuntu 12.04 LTS (everything updated) APC 3.1.7 (installed via APT and not PEAR)The problem I’m experiencing is that when issuing a graceful restart (sudo service apache2 graceful), PHP has a fatal error which causes Apache to seg fault. This is what I see in /var/log/apache2/error.log:[Tue Apr 30 11:05:33 2013] [notice] Graceful restart requested, doing restart PHP Fatal error: PHP Startup: apc_mmap: mmap failed: in Unknown on line 0 [Tue Apr 30 11:05:34 2013] [notice] seg fault or similar nasty error detected in the parent process/etc/ph

  • user1713747
    php apc
    I’m trying to install apc for php and therefore need pcre installed first.I have a mac os x 10.8, xcode 4.6.2, command line tools installed and check all similar posts but nothing works. Searching for 4 hours, no results.config.log says as following:This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by PCRE configure 8.32, which was generated by GNU Autoconf 2.68. Invocation command line was$ ./configure ## ——— ## ## Platform. ## ## ——— ##hostname = Lukass-MacBook-Pro.local uname -m = x86_64 uname -r = 12.2.1 uname -s = Darwin uname -v = Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64/usr/bin/uname -p = i386/bin/uname -X = unknown/bin/arch = unknown/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo = Mach kernel version:Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 Kernel configured for up to 8 processors. 4 processors are physically available. 8 processors are logically available.Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 138 tasks, 792 threads, 8 processors Load average: 0.82, Mach factor: 7.17/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/local/mysql/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /opt/X11/bin## ———– ## ## Core tests. ## ## ———– ##configure:2783: checking for a BSD-compatible install configure:2851: result: /usr/bin/install -c configure:2862: checking whether build environment is sane configure:2912: result: yes configure:3053: checking for a thread-safe mkdir -p configure:3092: result: ./install-sh -c -d configure:3105: checking for gawkconfigure:3135: result: no configure:3105: checking for mawkconfigure:3135: result: no configure:3105: checking for nawkconfigure:3135: result: no configure:3105: checking for awkconfigure:3121: found /usr/bin/awk configure:3132: result: awk configure:3143: checking whether make sets $(MAKE) configure:3165: result: yes configure:3256: checking whether make supports nested variables configure:3273: result: yes configure:3351: checking for gccconfigure:3367: found /usr/bin/gcc configure:3378: result: gcc configure:3607: checking for C compiler version config

  • user269867
    php apc
    I have installed ‘WampServer2.1e-x32’ stack with addon version of php 5.2.11 . I downloaded apc3.0.19.dll and placed under the directory and required information in php.ini. To make it work.Restarted wamp server and navigated to phpmyadmin and here are some error which I had never seen uptil now :(.Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/wamp/apps/phpmyadmin3.3.9/index.php] in Unknown on line 0Notice: Unknown: 2. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\index.php] h->filename=[C:/wamp/apps/phpmyadmin3.3.9/index.php] in Unknown on line 0Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\apps\phpmyadmin3.3.9\index.php] in Unknown on line 0Notice: Unknown: Inserting [C:\wamp\apps\phpmyadmin3.3.9\index.php] in Unknown on line 0Notice: require_once() [function.require-once]: 1. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\comm

  • hakre
    php apc
    I recently installed PHP APC on our server via our WHM panel (Web Host Manager). After a successful install, I thought everything was fine. However the next day I noticed our error_log file was getting quite

  • significance
    php osx apc
    I’ve been trying to install PHP5-APC (http://uk.php.net/apc/). I used macports to get this far.When i run php -m

  • Alex C
    caching memcached apc xcache
    At work, we’ve recently started designing an application to me “large scale” (we’re engineering for the potential to serve up many millions of hits a day). One of the senior devs and the sysadmin have set up memcache on the server. As I understand it, Memcache will hold query results and certain tables in memory for X amount of time and keep everything hunky dory.A drawback of memcache it seems is that I just can’t for the life of me manage to set it up on my local dev envi

  • gt-info
    proxy snmp apc socks
    I am helping a customer setting up a monitoring platform.For their datacenter they use APC Infrastruxure which consists of a Infrastructure Manager and several devices. The Infrastructure Manager connects the APC devices in a private lan (192.168.0.0/24), but it also has a second interface which

  • Arnold CHATELAIN
    php osx apc
    I downloaded the last version of APC-3.1.11 Used phpize command. sudo ./configure -with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.3.1 make When I am making the “make test” command; 24/25 tests failed one one skippedI go the following errors message, any help will be very appreciated PHP Warning: PHP Startup: Unable to load dynamic library ‘/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/apc.so’ – dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/apc.so, 9): no suitable image found. Did find:/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/apc.so: mach-o, but wrong architecture in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/ming.so’ – dlopen(modules/ming.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/ming.so’ – dlopen(modules/ming.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/bz2.so’ – dlopen(modules/bz2.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/bz2.so’ – dlopen(modules/bz2.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/curl.so’ – dlopen(modules/curl.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/curl.so’ – dlopen(modules/curl.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/exif.so’ – dlopen(modules/exif.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/exif.so’ – dlopen(modules/exif.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/gd.so’ – dlopen(modules/gd.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/gd.so’ – dlopen(modules/gd.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/imap.so’ – dlopen(modules/imap.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/imap.so’ – dlopen(modules/imap.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/ldap.so’ – dlopen(modules/ldap.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/ldap.so’ – dlopen(modules/ldap.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/mbstring.so’ – dlopen(modules/mbstring.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/mbstring.so’ – dlopen(modules/mbstring.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/mysql.so’ – dlopen(modules/mysql.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/mysql.so’ – dlopen(modules/mysql.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/mysqli.so’ – dlopen(modules/mysqli.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/mysqli.so’ – dlopen(modules/mysqli.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/pdo_mysql.so’ – dlopen(modules/pdo_mysql.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/pdo_mysql.so’ – dlopen(modules/pdo_mysql.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/pdo_pgsql.so’ – dlopen(modules/pdo_pgsql.so, 9): image not found in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library ‘modules/pdo_pgsql.so’ – dlopen(modules/pdo_pgsql.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘modules/sqlite3.so’ – dlopen(modules/sqlite3.so, 9): image not found in Unknown on line 0Warning: PHP S

  • TekiusFanatikus
    php apc
    Here is what I have in my PHP.ini:extension=php_apc.dll … [APC] apc.enabled = 1I’m running Apache 2.0.59, PHP version 5.2.3 on Windows Server 2003.

  • RS7
    php caching command-line cli apc
    I’m having some trouble with APC in the command line — the script I run tells me apc_fetch is undefined. If I do function_exists(‘apc_fetch’); outside the command line it outputs true but if I do php –rf apc_fetch it tells me it doesn’t exist.I have APC enabled (enabled & enable_cli) in p

  • flyclassic
    php iis7 fastcgi apc
    I’ve very unstable IIS, as it always get restarted for some reason it is APC related.The specs of the server is belowIntel R Xeon CPU 3GHZ 3GHZ 2GB RAM 64bitAPC & Server specification 3.1.7-dev PHP Version 5.3.6 APC Host localhost Server Software Microsoft-IIS/7.5 Shared Memory 1 Segment(s) with 1024.0 MBytes (IPC shared memory, File Locks locking) extension=php_apc.dll apc.shm_size=1024M apc.num_files_hint=10000 apc.user_entries_hint=10000 apc.max_file_size=5MPHP LOG File On Error28-Jul-2011 09:23:14] PHP Fatal error: Unknown: apc_fcntl_lock failed errno:6 in Unknown on line 0 [28-Jul-2011 09:23:14] PHP Fatal error: Unknown: apc_fcntl_lock failed errno:6 in Unknown on line 0 [28-Jul

  • yes123
    php linux apc gentoo
    $bar = ‘BAR’; apc_store(‘foo’, $bar); var_dump(apc_fetch(‘foo’));Within one request this work.Now If i try to do a var_dump(apc_fetch(‘foo’)); on another request it prints:bool(false)Any help?I am on gentoo with PHP 5.2, APC-3.1.9Here what phpinfo() knows about APC:APC Support enabled Version 3.1.9 APC Debugging Disabled MMAP Support Enabled MMAP File Mask no value Locking type pthread mutex Locks Serialization Support php Revision $Revision: 308812 $ Build Date May 27 2011 13:14:20Directive Local Value Master Value apc.cache_by_default On On apc.canonicali

  • bperdue
    php memcached apc
    I’ve compiled PHP 5.3.9 and NGINX 1.0.11 and want to use APC and Memcached with PHP. I keep getting this error when attempting to loa

Originally posted 2013-09-24 00:15:57.