Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15979 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49598 invoked by uid 1010); 16 Apr 2005 01:59:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49580 invoked by uid 1007); 16 Apr 2005 01:59:42 -0000 Message-ID: <20050416015942.49579.qmail@lists.php.net> To: internals@lists.php.net Date: Sat, 16 Apr 2005 03:59:47 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 217.234.194.254 Subject: state of PHP5 support in APC From: akorthaus@web.de (Andreas Korthaus) 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