Instantly share code, notes, and snippets.

Embed
What would you like to do?
INSTALL uploadprogress && INSTALL APC
## INSTALL uploadprogress dari pecl.php.net
masuk ke WHM, klik Module installer, pilih manage pecl, search upload progress lalu klik install. hasil ada di log-uploadprogress.txt
lalu kopi extension.so ke path lib yg dipake
root@neptune [~]# cp -a /usr/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
root@neptune [~]# php -m | grep upload
PHP: Error parsing /usr/local/lib/php.ini on line 790
uploadprogress
root@neptune [~]#
## INSTALL APC dari pecl.php.net
masuk ke WHM, klik Module installer, pilih manage pecl, search APC lalu klik install. hasil ada di log-APC.txt
lalu kopi extension.so ke path lib yg dipake
knoppix@Microknoppix:~$ ssh root@111.68.116.226 -p 2029
root@111.68.116.226's password:
Last login: Thu Jun 16 14:55:30 2011 from 111.68.125.91
root@neptune [~]# php -m | grep apc
PHP: Error parsing /usr/local/lib/php.ini on line 790
root@neptune [~]# ls /usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so
root@neptune [~]# cp -a /usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
pdo.so pdo_mysql.so pdo_sqlite.so sqlite.so suhosin.so uploadprogress.so
root@neptune [~]# cp -a /usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
root@neptune [~]# chmod a+x /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so
root@neptune [~]# php -m | grep apc
PHP: Error parsing /usr/local/lib/php.ini on line 791
apc
root@neptune [~]#
## APC konflik dengan ZEND
cara ngatasin:
.
knoppix@Microknoppix:~$ ssh root@111.68.116.226 -p 2029
root@111.68.116.226's password:
Last login: Thu Jun 16 16:01:05 2011 from 111.68.125.91
root@neptune [~]# rm /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so rm: remove regular file `/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so'? y
root@neptune [~]# php -m | grep apc
PHP: Error parsing /usr/local/lib/php.ini on line 791
root@neptune [~]# exit
referensi:
http://forums.cpanel.net/f5/installing-acp-uploadprogress-tutorial-107265.html
log-APC.txt
Module Installers
Installing PHP Pecl "APC"
downloading APC-3.1.9.tgz ...
Starting to download APC-3.1.9.tgz (155,540 bytes)
.................................done: 155,540 bytes
54 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Enable internal debugging in APC [no] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
Enable per request file info about files used from the APC cache [no] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
Enable spin locks (EXPERIMENTAL) [no] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
Enable memory protection (EXPERIMENTAL) [no] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
Enable pthread mutexes (default) [yes] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
Enable pthread read/write locks (EXPERIMENTAL) [no] :
Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304
Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304
building in /root/tmp/pear-build-root/APC-3.1.9
running: /root/tmp/pear/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 egrep... grep -E
checking for a sed that does not truncate output... /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 ANSI C... 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
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
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... no
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... yes
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... 98304
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/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -o apc.lo
mkdir .libs
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -fPIC -DPIC -o .libs/apc.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/php_apc.c -o php_apc.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/php_apc.c -fPIC -DPIC -o .libs/php_apc.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_cache.c -o apc_cache.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_cache.c -fPIC -DPIC -o .libs/apc_cache.o
/root/tmp/pear/APC/apc_cache.c: In function 'apc_cache_make_file_key':
/root/tmp/pear/APC/apc_cache.c:950: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/root/tmp/pear/APC/apc_cache.c:970: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/root/tmp/pear/APC/apc_cache.c: In function 'apc_cache_make_user_key':
/root/tmp/pear/APC/apc_cache.c:1067: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_compile.c -o apc_compile.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_compile.c -fPIC -DPIC -o .libs/apc_compile.o
/root/tmp/pear/APC/apc_compile.c:293: warning: 'hot' attribute directive ignored
/root/tmp/pear/APC/apc_compile.c:842: warning: 'hot' attribute directive ignored
/root/tmp/pear/APC/apc_compile.c: In function 'apc_file_halt_offset':
/root/tmp/pear/APC/apc_compile.c:1855: warning: passing argument 5 of 'zend_mangle_property_name' discards qualifiers from pointer target type
/root/tmp/pear/APC/apc_compile.c: In function 'apc_do_halt_compiler_register':
/root/tmp/pear/APC/apc_compile.c:1877: warning: passing argument 5 of 'zend_mangle_property_name' discards qualifiers from pointer target type
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_debug.c -o apc_debug.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_debug.c -fPIC -DPIC -o .libs/apc_debug.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_fcntl.c -o apc_fcntl.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_fcntl.c -fPIC -DPIC -o .libs/apc_fcntl.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_main.c -o apc_main.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_main.c -fPIC -DPIC -o .libs/apc_main.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_mmap.c -o apc_mmap.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_mmap.c -fPIC -DPIC -o .libs/apc_mmap.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_sem.c -o apc_sem.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_sem.c -fPIC -DPIC -o .libs/apc_sem.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_shm.c -o apc_shm.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_shm.c -fPIC -DPIC -o .libs/apc_shm.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pthreadmutex.c -o apc_pthreadmutex.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pthreadmutex.c -fPIC -DPIC -o .libs/apc_pthreadmutex.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pthreadrwlock.c -o apc_pthreadrwlock.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pthreadrwlock.c -fPIC -DPIC -o .libs/apc_pthreadrwlock.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_spin.c -o apc_spin.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_spin.c -fPIC -DPIC -o .libs/apc_spin.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/pgsql_s_lock.c -o pgsql_s_lock.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/pgsql_s_lock.c -fPIC -DPIC -o .libs/pgsql_s_lock.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_sma.c -o apc_sma.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_sma.c -fPIC -DPIC -o .libs/apc_sma.o
/root/tmp/pear/APC/apc_sma.c:181: warning: 'hot' attribute directive ignored
/root/tmp/pear/APC/apc_sma.c:278: warning: 'hot' attribute directive ignored
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_stack.c -o apc_stack.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_stack.c -fPIC -DPIC -o .libs/apc_stack.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_zend.c -o apc_zend.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_zend.c -fPIC -DPIC -o .libs/apc_zend.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_rfc1867.c -o apc_rfc1867.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_rfc1867.c -fPIC -DPIC -o .libs/apc_rfc1867.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_signal.c -o apc_signal.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_signal.c -fPIC -DPIC -o .libs/apc_signal.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pool.c -o apc_pool.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_pool.c -fPIC -DPIC -o .libs/apc_pool.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_iterator.c -o apc_iterator.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_iterator.c -fPIC -DPIC -o .libs/apc_iterator.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_bin.c -o apc_bin.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_bin.c -fPIC -DPIC -o .libs/apc_bin.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_string.c -o apc_string.lo
cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_string.c -fPIC -DPIC -o .libs/apc_string.o
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=link cc -DPHP_ATOM_INC -I/root/tmp/pear-build-root/APC-3.1.9/include -I/root/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o apc.la -export-dynamic -avoid-version -prefer-pic -module -rpath /root/tmp/pear-build-root/APC-3.1.9/modules apc.lo php_apc.lo apc_cache.lo apc_compile.lo apc_debug.lo apc_fcntl.lo apc_main.lo apc_mmap.lo apc_sem.lo apc_shm.lo apc_pthreadmutex.lo apc_pthreadrwlock.lo apc_spin.lo pgsql_s_lock.lo apc_sma.lo apc_stack.lo apc_zend.lo apc_rfc1867.lo apc_signal.lo apc_pool.lo apc_iterator.lo apc_bin.lo apc_string.lo -lrt
cc -shared .libs/apc.o .libs/php_apc.o .libs/apc_cache.o .libs/apc_compile.o .libs/apc_debug.o .libs/apc_fcntl.o .libs/apc_main.o .libs/apc_mmap.o .libs/apc_sem.o .libs/apc_shm.o .libs/apc_pthreadmutex.o .libs/apc_pthreadrwlock.o .libs/apc_spin.o .libs/pgsql_s_lock.o .libs/apc_sma.o .libs/apc_stack.o .libs/apc_zend.o .libs/apc_rfc1867.o .libs/apc_signal.o .libs/apc_pool.o .libs/apc_iterator.o .libs/apc_bin.o .libs/apc_string.o -lrt -Wl,-soname -Wl,apc.so -o .libs/apc.so
creating apc.la
(cd .libs && rm -f apc.la && ln -s ../apc.la apc.la)
/bin/sh /root/tmp/pear-build-root/APC-3.1.9/libtool --mode=install cp ./apc.la /root/tmp/pear-build-root/APC-3.1.9/modules
cp ./.libs/apc.so /root/tmp/pear-build-root/APC-3.1.9/modules/apc.so
cp ./.libs/apc.lai /root/tmp/pear-build-root/APC-3.1.9/modules/apc.la
PATH="$PATH:/sbin" ldconfig -n /root/tmp/pear-build-root/APC-3.1.9/modules
----------------------------------------------------------------------
Libraries have been installed in:
/root/tmp/pear-build-root/APC-3.1.9/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="/root/tmp/pear-build-root/install-APC-3.1.9" install
Installing shared extensions: /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20060613/
Installing header files: /root/tmp/pear-build-root/install-APC-3.1.9/usr/include/php/
running: find "/root/tmp/pear-build-root/install-APC-3.1.9" | xargs ls -dils
2366795 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9
2366862 4 drwxr-xr-x 4 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr
2366867 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/include
2366868 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/include/php
2366869 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/include/php/ext
2366870 4 drwxr-xr-x 2 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/include/php/ext/apc
2366871 4 -rw-r--r-- 1 root root 3371 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/include/php/ext/apc/apc_serializer.h
2366863 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib
2366864 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib/php
2366865 4 drwxr-xr-x 3 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib/php/extensions
2366866 4 drwxr-xr-x 2 root root 4096 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20060613
2366861 632 -rwxr-xr-x 1 root root 641617 Jun 16 15:45 /root/tmp/pear-build-root/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so
Build process completed successfully
Installing '/usr/include/php/ext/apc/apc_serializer.h'
Installing '/usr/lib/php/extensions/no-debug-non-zts-20060613/apc.so'
install ok: channel://pecl.php.net/APC-3.1.9
Extension apc enabled in php.ini
The APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
log-upload-progress.txt
Main >> Software >> Module Installers
Module Installers
Installing PHP Pecl "uploadprogress"
downloading uploadprogress-1.0.1.tgz ...
Starting to download uploadprogress-1.0.1.tgz (8,536 bytes)
.....done: 8,536 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /root/tmp/pear-build-root/uploadprogress-1.0.1
running: /root/tmp/pear/uploadprogress/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /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 ANSI C... 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
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable uploadprogress functions... yes, shared
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 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
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/sh /root/tmp/pear-build-root/uploadprogress-1.0.1/libtool --mode=compile cc -I. -I/root/tmp/pear/uploadprogress -DPHP_ATOM_INC -I/root/tmp/pear-build-root/uploadprogress-1.0.1/include -I/root/tmp/pear-build-root/uploadprogress-1.0.1/main -I/root/tmp/pear/uploadprogress -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/uploadprogress/uploadprogress.c -o uploadprogress.lo
mkdir .libs
cc -I. -I/root/tmp/pear/uploadprogress -DPHP_ATOM_INC -I/root/tmp/pear-build-root/uploadprogress-1.0.1/include -I/root/tmp/pear-build-root/uploadprogress-1.0.1/main -I/root/tmp/pear/uploadprogress -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/uploadprogress/uploadprogress.c -fPIC -DPIC -o .libs/uploadprogress.o
/bin/sh /root/tmp/pear-build-root/uploadprogress-1.0.1/libtool --mode=link cc -DPHP_ATOM_INC -I/root/tmp/pear-build-root/uploadprogress-1.0.1/include -I/root/tmp/pear-build-root/uploadprogress-1.0.1/main -I/root/tmp/pear/uploadprogress -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o uploadprogress.la -export-dynamic -avoid-version -prefer-pic -module -rpath /root/tmp/pear-build-root/uploadprogress-1.0.1/modules uploadprogress.lo
cc -shared .libs/uploadprogress.o -Wl,-soname -Wl,uploadprogress.so -o .libs/uploadprogress.so
creating uploadprogress.la
(cd .libs && rm -f uploadprogress.la && ln -s ../uploadprogress.la uploadprogress.la)
/bin/sh /root/tmp/pear-build-root/uploadprogress-1.0.1/libtool --mode=install cp ./uploadprogress.la /root/tmp/pear-build-root/uploadprogress-1.0.1/modules
cp ./.libs/uploadprogress.so /root/tmp/pear-build-root/uploadprogress-1.0.1/modules/uploadprogress.so
cp ./.libs/uploadprogress.lai /root/tmp/pear-build-root/uploadprogress-1.0.1/modules/uploadprogress.la
PATH="$PATH:/sbin" ldconfig -n /root/tmp/pear-build-root/uploadprogress-1.0.1/modules
----------------------------------------------------------------------
Libraries have been installed in:
/root/tmp/pear-build-root/uploadprogress-1.0.1/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="/root/tmp/pear-build-root/install-uploadprogress-1.0.1" install
Installing shared extensions: /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib/php/extensions/no-debug-non-zts-20060613/
running: find "/root/tmp/pear-build-root/install-uploadprogress-1.0.1" | xargs ls -dils
2366653 4 drwxr-xr-x 3 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1
2366675 4 drwxr-xr-x 3 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr
2366676 4 drwxr-xr-x 3 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib
2366677 4 drwxr-xr-x 3 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib/php
2366678 4 drwxr-xr-x 3 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib/php/extensions
2366679 4 drwxr-xr-x 2 root root 4096 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib/php/extensions/no-debug-non-zts-20060613
2366674 56 -rwxr-xr-x 1 root root 49361 Jun 16 14:53 /root/tmp/pear-build-root/install-uploadprogress-1.0.1/usr/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so'
install ok: channel://pecl.php.net/uploadprogress-1.0.1
Extension uploadprogress enabled in php.ini
The uploadprogress.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
root@neptune [~]# cp -a /usr/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
root@neptune [~]# php -m | grep upload
PHP: Error parsing /usr/local/lib/php.ini on line 790
uploadprogress
root@neptune [~]# cat /usr/local/lib/php.ini | less
root@neptune [~]# cat /usr/local/lib/php.ini | less
root@neptune [~]# php -m | grep upload
PHP: Error parsing /usr/local/lib/php.ini on line 790
uploadprogress
root@neptune [~]#
http://forums.cpanel.net/f5/installing-acp-uploadprogress-tutorial-107265.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment