|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56159 APC doesnt compile with PHP5
Submitted: 2004-08-07 14:50 UTC Modified: 2012-07-08 03:09 UTC
From: mike at blueroot dot net Assigned: chx (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.0.0b1 (beta1) OS: Redhat 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mike at blueroot dot net
New email:
PHP Version: OS:


 [2004-08-07 14:50 UTC] mike at blueroot dot net
/php5/bin/pear install apc 

configure seems to complete correctly with no errors, but make fails 

running: make
/bin/sh /var/tmp/pear-build-root/APC-2.0.4/libtool --mode=compile gcc  -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /tmp/tmpOHwpNC/APC-2.0.4/apc.c -o apc.lo
gcc -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpOHwpNC/APC-2.0.4/apc.c  -fPIC -DPIC -o apc.lo
/bin/sh /var/tmp/pear-build-root/APC-2.0.4/libtool --mode=compile gcc  -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c -o apc_cache.lo
gcc -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c  -fPIC -DPIC -o apc_cache.lo
/tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c: In function `prevent_garbage_collection':
/tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c:176: subscripted value is neither array nor pointer
make: *** [apc_cache.lo] Error 1
`make' failed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-19 10:27 UTC] gero at dowhatyoufeel dot de
Same for me. PHP 5.0.1, Suse 8.1
 [2004-08-19 11:54 UTC]
APC is not PHP5 compatible yet.
 [2004-10-22 19:09 UTC] jnichols959 at gmail dot com
any idea of a timeline for PHP5 support?
 [2004-11-23 07:04 UTC] peter at muresinfo dot ro
any idea of a timeline for PHP5 support?

Would be nice to have such a feature.
 [2012-07-08 03:09 UTC]
-Status: Assigned +Status: Closed -Assigned To: +Assigned To: chx
 [2012-07-08 03:09 UTC]
Cleaning the APC queue a little.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC