Trying to build against PHP 5.3.0 raise a lot of error : /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c: In function 'encode_zval': /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:637: error: 'zval' has no member named 'is_ref' /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:638: error: 'zval' has no member named 'refcount' /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:639: error: 'zval' has no member named 'is_ref' /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:639: error: 'zval' has no member named 'refcount' /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c: In function 'encode_op_array': /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:947: error: 'zend_op_array' has no member named 'uses_this' /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c: In function 'zif_eaccelerator_encode': /home/extras/BUILD/eaccelerator-0.9.5.3/encoder.c:1244: error: 'zend_stream' has no member named 'interactive' make: *** [encoder.lo] Error 1 This will need some work. Perhaps upstream already know / have fixed this.
No more success with latest SVN snapshot :(
I am aware of this problem, but an svn snapshot should work. I'll try to install PHP 5.3 somewhere to test this.
Hi Bart, Error, with SVN (355 snapshot + changeset 356) /home/extras/BUILD/eaccelerator-svn355/content.c: In function 'eaccelerator_content_cache_startup': /home/extras/BUILD/eaccelerator-svn355/content.c:97: warning: assignment from incompatible pointer type /home/extras/BUILD/eaccelerator-svn355/content.c:98: warning: assignment from incompatible pointer type /home/extras/BUILD/eaccelerator-svn355/content.c: In function 'eaccelerator_content_cache_shutdown': /home/extras/BUILD/eaccelerator-svn355/content.c:104: warning: assignment from incompatible pointer type /home/extras/BUILD/eaccelerator-svn355/content.c: In function 'eaccelerator_put_page': /home/extras/BUILD/eaccelerator-svn355/content.c:150: error: 'sapi_header_struct' has no member named 'replace' PHP 5.2.10: typedef struct { char *header; uint header_len; zend_bool replace; } sapi_header_struct; PHP 5.3.0: typedef struct { char *header; uint header_len; } sapi_header_struct; Thanks for taking care of this.
I have made some changes to disable the optimizer that not been ported yet to PHP 5.3 and I fixed a bug that caused a crash. I have updated the snapshot.
Same issue with snapshot 358 and sapi_header_struct->replace.
Aha, I did not notice before. It is a part of the extension that is not really maintained any more. Could you remove these compile flags? --with-eaccelerator-shared-memory --with-eaccelerator-sessions --with-eaccelerator-content-caching I am not sure I am going to port these functions to PHP 5.3
@Bart, yes, that's ok now without this options. Build, load and work fine (only small tests done) @Matthias: I'm going to build php-eaccelerator-0.9.6-0.1.svn358.fc12 in rawhide to fix the broken dep. We will probably have to update this package before F12 (I've asked to be set as co-maintainer for it)
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Still can't rebuild? php-5.3.1 + current php-eaccelerator does not work. High load on my server, looks like http threads remain running and eating all CPU. After some time I have lots (>100) of httpd processes each eating <1% CPU.
Lastest version available in rawhide and F-12 (0.9.6-0.2.svn358) is build against PHP 5.3. So I close this bug. For other issue, file a new bug (probably should ask upstream about this) +