Step 2 : RUN apt-get update && apt-get install -y mercurial subversion python-pygments openssh-client mysql-client --no-ins tall-recommends && rm -r /var/lib/apt/lists/* && pear config-set preferred_state stable && pecl install APCu ---> Running in 00b0caa2f7b7 [...] config-set succeeded downloading apcu-4.0.8.tgz ... Starting to download apcu-4.0.8.tgz (119,062 bytes) ..........................done: 119,062 bytes 43 source files, building running: phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 Enable full APC compatibility [yes] : Enable internal debugging in APCu [no] : building in /tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8 running: /tmp/pear/temp/apcu/configure --with-php-config=/usr/local/bin/php-config --enable-apc-bc=yes --enable-apcu-debug=no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/in clude/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20131226 checking for PHP installed headers prefix... /usr/local/include/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... nawk checking if nawk is broken... no checking whether to enable APCu support... yes, shared checking if APCu should provide APC full compatibility support... yes checking if APCu should be allowed to use rwlocks... yes checking if APCu should be built in debug mode... no checking if APCu should clear on SIGUSR1... no checking if APCu will use mmap or shm... shm configure: WARNING: APCu has access to native rwlocks checking whether the target compiler supports builtin atomics... yes checking for sigaction... yes checking for union semun... no 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 checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking whether to include code coverage symbols... no checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize 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... 1572864 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/bash /tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/libtool --mode=compile cc -D_GNU_SOURCE -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/t emp/pear-build-defaultuserkj0ls0/apcu-4.0.8/include -I/tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/main -I/tmp/pear/temp/apcu -I/usr/local/include/ph p -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c -o apc.lo mkdir .libs cc -D_GNU_SOURCE -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/include -I/tmp/pear/temp/pear-build-default userkj0ls0/apcu-4.0.8/main -I/tmp/pear/temp/apcu -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/ Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c -fPIC -DPIC -o .libs/apc.o /bin/bash /tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/libtool --mode=compile cc -D_GNU_SOURCE -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/t emp/pear-build-defaultuserkj0ls0/apcu-4.0.8/include -I/tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/main -I/tmp/pear/temp/apcu -I/usr/local/include/ph p -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc_lock.c -o apc_lock.lo [...] ---------------------------------------------------------------------- Libraries have been installed in: /tmp/pear/temp/pear-build-defaultuserkj0ls0/apcu-4.0.8/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8" install Installing shared extensions: /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib/php/extensions/no-debug-non-zts-20131226/ Installing header files: /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ running: find "/tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8" | xargs ls -dils 2768141 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8 2768187 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr 2768188 4 drwxr-xr-x. 4 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local 2768193 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include 2768194 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php 2768195 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext 2768196 4 drwxr-xr-x. 2 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu 2768197 8 -rw-r--r--. 1 root root 6734 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc.h 2768198 4 -rw-r--r--. 1 root root 1324 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_api.h 2768203 4 -rw-r--r--. 1 root root 2158 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_bin_a pi.h 2768199 20 -rw-r--r--. 1 root root 18200 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_cache _api.h 2768200 8 -rw-r--r--. 1 root root 4415 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_lock_ api.h 2768201 8 -rw-r--r--. 1 root root 5282 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_pool_ api.h 2768204 4 -rw-r--r--. 1 root root 3528 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_seria lizer.h 2768202 16 -rw-r--r--. 1 root root 14018 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/include/php/ext/apcu/apc_sma_a pi.h 2768189 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib 2768190 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib/php 2768191 4 drwxr-xr-x. 3 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib/php/extensions 2768192 4 drwxr-xr-x. 2 root root 4096 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib/php/extensions/no-debug-no n-zts-20131226 2768186 468 -rwxr-xr-x. 1 root root 475832 Nov 30 16:40 /tmp/pear/temp/pear-build-defaultuserkj0ls0/install-apcu-4.0.8/usr/local/lib/php/extensions/no-debug-no n-zts-20131226/apcu.so Build process completed successfully Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so' Installing '/usr/local/include/php/ext/apcu/apc_lock_api.h' Installing '/usr/local/include/php/ext/apcu/apc_sma_api.h' Installing '/usr/local/include/php/ext/apcu/apc_serializer.h' Installing '/usr/local/include/php/ext/apcu/apc_api.h' Installing '/usr/local/include/php/ext/apcu/apc_bin_api.h' Installing '/usr/local/include/php/ext/apcu/apc.h' Installing '/usr/local/include/php/ext/apcu/apc_cache_api.h' Installing '/usr/local/include/php/ext/apcu/apc_pool_api.h' install ok: channel://pecl.php.net/apcu-4.0.8 configuration option "php_ini" is not set to php.ini location You should add "extension=apcu.so" to php.ini ---> 15101b8e27e1