| Summary: | www/eaccelerator bug fixes and support for PHP 5 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Joe Horn <joehorn> | ||||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Joe Horn
2005-12-27 04:10:07 UTC
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer I upgraded today to PHP5 and noticed that eaccelerator doesn't support it yet. I was very happy to see patch that will solve this problem. Unfortunatelly after compiling eaccelerator with your modifications apache started dying, only thing that I saw in logs was: [Wed Jan 04 01:29:32 2006] [notice] Graceful restart requested, doing restart [Wed Jan 04 01:29:33 2006] [notice] seg fault or similar nasty error detected in the parent process I use: apache-2.0.55_2 php5-5.1.1 and FBSD 6.0-RELEASE I am so sorry for this. It looks like that they are still testing code and fixing bugs . Maybe we should wait for new version to run with PHP 5.1 . If anyone want to help for testing , please go http://sourceforge.net/projects/eaccelerator/ There are some patches , and a bug report system. Therefore, the fix I reported is deprecated. The following fix is only useful for "Broken pipe: write pipe_of_death" bug. ( OR fetch http://www.joehorn.idv.tw/download/patch-debug.c THEN put it in /usr/ports/www/eaccelerator/files ) # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/www/eaccelerator/files/patch-debug.c # echo x - /usr/ports/www/eaccelerator/files/patch-debug.c sed 's/^X//' >/usr/ports/www/eaccelerator/files/patch-debug.c << 'END-of-/usr/ports/www/eaccelerator/files/patch-debug.c' X--- debug.c.orig Sun Jul 10 16:12:33 2005 X+++ debug.c Tue Dec 27 10:22:36 2005 X@@ -66,7 +66,7 @@ X void ea_debug_shutdown () X { X fflush (F_fp); X- fclose (F_fp); X+ if (F_fp != stderr) fclose (F_fp); X F_fp = NULL; X } END-of-/usr/ports/www/eaccelerator/files/patch-debug.c exit State Changed From-To: open->closed A different patchset has been applied, thanks. |