Bug 511127
Summary: | php-eaccelerator don't build against PHP 5.3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Remi Collet <fedora> |
Component: | php-eaccelerator | Assignee: | Matthias Saou <matthias> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | bart.vanbrabant, matthias, ondrejj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-11-29 10:49:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Remi Collet
2009-07-13 19:32:11 UTC
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) + |