アップデート後、APCがダメなようで再インストール。
現在の環境
|
openSUSE 11.2 (x86_64) libidn-devel(x86-64) = 1.10-4.2 autoconf(x86-64) = 2.63-5.2 |
APC-3.1.3はmake後
|
APC-3.1.3/php_apc.c:37:21: error: apc_bin.h: No such file or directory APC-3.1.3/php_apc.c: In function 'zm_startup_apc': APC-3.1.3/php_apc.c:272: error: 'APC_BIN_VERIFY_MD5' undeclared (first use in this function) APC-3.1.3/php_apc.c:272: error: (Each undeclared identifier is reported only once APC-3.1.3/php_apc.c:272: error: for each function it appears in.) APC-3.1.3/php_apc.c:273: error: 'APC_BIN_VERIFY_CRC32' undeclared (first use in this function) APC-3.1.3/php_apc.c: In function 'zif_apc_bin_dump': APC-3.1.3/php_apc.c:1313: error: 'apc_bd_t' undeclared (first use in this function) APC-3.1.3/php_apc.c:1313: error: 'bd' undeclared (first use in this function) APC-3.1.3/php_apc.c: In function 'zif_apc_bin_dumpfile': APC-3.1.3/php_apc.c:1351: error: 'apc_bd_t' undeclared (first use in this function) APC-3.1.3/php_apc.c:1351: error: 'bd' undeclared (first use in this function) APC-3.1.3/php_apc.c: In function 'zif_apc_bin_load': APC-3.1.3/php_apc.c:1429: error: 'apc_bd_t' undeclared (first use in this function) APC-3.1.3/php_apc.c:1429: error: expected expression before ')' token APC-3.1.3/php_apc.c:1430: error: expected expression before ')' token APC-3.1.3/php_apc.c:1434: error: expected expression before ')' token APC-3.1.3/php_apc.c: In function 'zif_apc_bin_loadfile': APC-3.1.3/php_apc.c:1482: error: 'apc_bd_t' undeclared (first use in this function) APC-3.1.3/php_apc.c:1482: error: expected expression before ')' token APC-3.1.3/php_apc.c:1483: error: expected expression before ')' token APC-3.1.3/php_apc.c:1488: error: expected expression before ')' token make: *** [php_apc.lo] エラー 1 |
で失敗しました。
APC-3.1.3p1でやり直し
|
# wget http://pecl.php.net/get/APC-3.1.3p1.tgz 100%[=============================================>] 142,277 97.9K/s 時間 1.4s
2009-12-18 20:01:11 (97.9 KB/s) - `APC-3.1.3p1.tgz' へ保存完了 [142277/142277]
If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for
Build complete. |
/etc/php5/apache2/php.ini
|
[apc] |
/etc/php5/conf.d/apc.ini
|
extension=apc.so |
Apacheの再起動
|
# /etc/init.d/apache2 restart |
人気度: 4% [?]