state of PHP5 support in APC

php.internals

Andreas Korthaus

21 years ago
Hello! Can someone tell me anything about the state of PHP5 support in APC? I have read some posts from last september where was statet "in a few weeks there will be PHP5 support " ;-) Today I tried to install a snapshot from CVS, to see if it works with PHP 5.0.3 on my Gentoo-Box. Seems if the next version will be 2.1.0? So I created an APC-2.1.0dev.tgz and tried to install it using pear installer. But make failed: gcc -I. -I/tmp/tmpEq1qzi/APC-2.1.0dev -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.1.0dev/include -I/var/tmp/pear-build-root/APC-2.1.0dev/main -I/tmp/tmpEq1qzi/APC-2.1.0dev -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpEq1qzi/APC-2.1.0dev/apc_cache.c -fPIC -DPIC -o apc_cache.lo /tmp/tmpEq1qzi/APC-2.1.0dev/apc_cache.c: In function `prevent_garbage_collection': /tmp/tmpEq1qzi/APC-2.1.0dev/apc_cache.c:231: error: subscripted value is neither array nor pointer make: *** [apc_cache.lo] Error 1 `make' failed (the same happens if I run phpize && ./configure --enable-apc && make install) I have seen similar errors in APC-bugtracker and on this list some time ago. I also tried eAccelerator. First it looked nice and seemed to work with PHP5, but I got some errors with PEAR::MDB2 (something with constructors I think). Can someone estimate how far away we are from a working PHP5 release? Thanks! best regards, Andreas

Andreas Korthaus

21 years ago
I'm sorry, should have gone to pecl.dev!