# state of PHP5 support in APC

- Thread: https://externals.io/message/15979
- Original archive: https://news-web.php.net/php.internals/15979
- Started by Andreas Korthaus on 2005-04-16T01:59:47+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15979 — Andreas Korthaus — 2005-04-16T01:59:47+00:00

URL: https://externals.io/message/15979#15979

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

---

## #15980 — Andreas Korthaus — 2005-04-16T02:02:42+00:00

URL: https://externals.io/message/15979#15980 · In reply to: #15979

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