From nobody@FreeBSD.org  Sat Apr 10 20:25:37 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BE4C0106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2010 20:25:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AF91D8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2010 20:25:37 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3AKPbwr031264
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2010 20:25:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3AKPbMu031254;
	Sat, 10 Apr 2010 20:25:37 GMT
	(envelope-from nobody)
Message-Id: <201004102025.o3AKPbMu031254@www.freebsd.org>
Date: Sat, 10 Apr 2010 20:25:37 GMT
From: Spil <spil.oss@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [www/eaccelerator] patch for php 5.3.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145619
>Category:       ports
>Synopsis:       www/eaccelerator: patch for php 5.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    glarkin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 20:30:01 UTC 2010
>Closed-Date:    Fri Apr 16 20:40:53 EDT 2010
>Last-Modified:  Wed Dec 29 22:00:21 UTC 2010
>Originator:     Spil
>Release:        FreeBSD 8.0-p2
>Organization:
>Environment:
FreeBSD www.example.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Thu Jan 14 16:35:41 UTC 2010     root@:/usr/obj/usr/src/sys/SERVER80  i386
 
>Description:
eaccelerator has a new version for PHP 5.3.2.
>How-To-Repeat:
Install php 5.3.2 and use eaccelerator
>Fix:
See attached patch

Patch attached with submission follows:

diff -ruN eaccelerator-0.9.5.3/Makefile eaccelerator/Makefile
--- eaccelerator-0.9.5.3/Makefile	2008-06-18 14:26:58.000000000 +0200
+++ eaccelerator/Makefile	2010-04-10 19:48:08.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	eaccelerator
-PORTVERSION=	0.9.5.3
+PORTVERSION=	0.9.6
 CATEGORIES=	www
 MASTER_SITES=	http://bart.eaccelerator.net/source/${PORTVERSION}/
 
@@ -17,12 +17,6 @@
 USE_PHPIZE=	yes
 USE_PHP_BUILD=	yes
 
-CONFIGURE_ARGS=	--enable-eaccelerator=shared \
-		--with-eaccelerator-shared-memory \
-		--with-eaccelerator-sessions \
-		--with-eaccelerator-content-caching \
-		--with-eaccelerator-userid=80
-
 USE_BZIP2=	yes
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
@@ -31,24 +25,10 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PHP_VER} == 5
-CONFIGURE_ARGS+=	--without-eaccelerator-encoder
-PLIST_SUB+=		ENCODER="@comment "
-.else
-PLIST_SUB+=		ENCODER=""
-
-post-build:
-	@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \
-		${WRKSRC}/encoder.php > ${WRKSRC}/encoder
-.endif
-
 do-install:
 	@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
 	${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
 	       ${PREFIX}/lib/php/${PHP_EXT_DIR}
-.if ${PHP_VER} == 4
-	${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin
-.endif
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN eaccelerator-0.9.5.3/distinfo eaccelerator/distinfo
--- eaccelerator-0.9.5.3/distinfo	2008-06-18 14:26:58.000000000 +0200
+++ eaccelerator/distinfo	2010-04-10 19:42:25.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (eaccelerator-0.9.5.3.tar.bz2) = caf797223739516882f870342f74b935
-SHA256 (eaccelerator-0.9.5.3.tar.bz2) = aa4f0e7817e0193d698db71cc858f45461c2820266941ae2034eb1b82c379e45
-SIZE (eaccelerator-0.9.5.3.tar.bz2) = 555631
+MD5 (eaccelerator-0.9.6.tar.bz2) = 85fa6150265a81f0cea852bc973382b9
+SHA256 (eaccelerator-0.9.6.tar.bz2) = ab1f309078d04ede3297b96f6c2689104e349e11e61376866f59c983ddde9a56
+SIZE (eaccelerator-0.9.6.tar.bz2) = 105833
diff -ruN eaccelerator-0.9.5.3/files/patch-encoder.php eaccelerator/files/patch-encoder.php
--- eaccelerator-0.9.5.3/files/patch-encoder.php	2006-02-02 10:06:14.000000000 +0100
+++ eaccelerator/files/patch-encoder.php	1970-01-01 01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
---- encoder.php.orig	Fri May  6 10:26:43 2005
-+++ encoder.php	Thu Feb  2 09:39:47 2006
-@@ -1,10 +1,12 @@
-+#!%%LOCALBASE%%/bin/php -f
-+
- <?php
- $web_error = "";
- 
- function eaccelerator_encoder_usage() {
--  echo "Usage:\tphp -q encoder.php [options] source_file_name\n";
--  echo       "\tphp -q encoder.php [options] source_file_name...\n";
--  echo       "\tphp -q encoder.php [options] source_directory_name...\n\n";
-+  echo "Usage:\tencoder [options] source_file_name\n";
-+  echo       "\tencoder [options] source_file_name...\n";
-+  echo       "\tencoder [options] source_directory_name...\n\n";
-   echo "Options:\n";
-   echo "\t-s suffix\n\t\tencode files only with following suffix (default is \"php\")\n";
-   echo "\t-a\n\t\tencode all files (no by default)\n";
-@@ -17,10 +19,10 @@
-   echo               "\t\tfile name. If you encode directory or several files at once\n";
-   echo               "\t\tthen 'target' specifyes an output directory name.\n";
-   echo "\nExamples:\n";
--  echo "\tphp -q encoder.php some_file.php\n";
--  echo "\tphp -q encoder.php some_file.php -o some_encoded_file.php\n";
--  echo "\tphp -q encoder.php *.php -o some_dir\n";
--  echo "\tphp -q encoder.php ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n";
-+  echo "\tencoder some_file.php\n";
-+  echo "\tencoder some_file.php -o some_encoded_file.php\n";
-+  echo "\tencoder *.php -o some_dir\n";
-+  echo "\tencoder ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n";
-   echo "\n";
-   exit();
- }
diff -ruN eaccelerator-0.9.5.3/pkg-plist eaccelerator/pkg-plist
--- eaccelerator-0.9.5.3/pkg-plist	2006-04-12 18:41:08.000000000 +0200
+++ eaccelerator/pkg-plist	2010-04-10 19:47:36.000000000 +0200
@@ -1,4 +1,3 @@
-%%ENCODER%%bin/encoder
 lib/php/%%PHP_EXT_DIR%%/eaccelerator.so
 @dirrmtry lib/php/%%PHP_EXT_DIR%%
 %%EXAMPLESDIR%%/control.php


>Release-Note:
>Audit-Trail:

From: Bartosz Stec <bartosz.stec@it4pro.pl>
To: bug-followup@FreeBSD.org, spil.oss@gmail.com
Cc:  
Subject: Re: ports/145619: www/eaccelerator: patch for php 5.3.2
Date: Sun, 11 Apr 2010 13:33:54 +0200

 This is a multi-part message in MIME format.
 --------------020005070700010104090301
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I did a little testing.
 Patch submitted above allow eaccelerator to compile with PHP 5.3.2, 
 hovewer I couldn't make it actually work with it. Regardless of ony 
 settings related to eaccelerator in php.ini I always get in apache error 
 log:
 
     eAccelerator: shmmax should be at least 2MBPHP Warning: 
     [eAccelerator] Can not create shared memory area in Unknown on line 0
     PHP Fatal error:  Unable to start eAccelerator module in Unknown on
     line 0
 
 With PHP 5.2.X it always worked like a charm. Here are my php.ini 
 settings for eaccelerator:
 
     zend_extension="/usr/local/lib/php/20090626/eaccelerator.so"
     eaccelerator.shm_size="32"
     eaccelerator.cache_dir="/tmp/eaccelerator"
     eaccelerator.enable="1"
     eaccelerator.optimizer="1"
     eaccelerator.check_mtime="1"
     eaccelerator.debug="0"
     eaccelerator.filter=""
     eaccelerator.shm_max="0"
     eaccelerator.shm_ttl="600"
     eaccelerator.shm_prune_period="0"
     eaccelerator.shm_only="0"
     eaccelerator.compress="1"
     eaccelerator.compress_level="9"
 
 Playing with eaccelerator.shm_max ("2M","8M") made no difference. It 
 seems that little more work is needed to make this version work.
 
     # uname -a
     FreeBSD mainframe.kkip.pl 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Apr 
     9 23:12:44 CEST 2010    
     ncpnc@mainframe.kkip.pl:/usr/obj/usr/src/sys/AMD64SMP8  amd64
 
     #php -v
     PHP 5.3.2 with Suhosin-Patch (cli) (built: Apr  9 2010 15:24:51)
     Copyright (c) 1997-2009 The PHP Group
     Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
 
 (There is no eaccelerator in output because It is disabled by now )
 
 -- 
 Bartosz Stec
 
 
 
 --------------020005070700010104090301
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
 
 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
 </head>
 <body text="#000000" bgcolor="#ffffff">
 I did a little testing.<br>
 Patch submitted above allow eaccelerator to compile with PHP 5.3.2,
 hovewer I couldn't make it actually work with it. Regardless of ony
 settings related to eaccelerator in php.ini I always get in apache
 error log: <br>
 <blockquote>eAccelerator: shmmax should be at least 2MBPHP Warning:&nbsp;
 [eAccelerator] Can not create shared memory area in Unknown on line 0<br>
 PHP Fatal error:&nbsp; Unable to start eAccelerator module in Unknown on
 line 0<br>
 </blockquote>
 With PHP 5.2.X it always worked like a charm. Here are my php.ini
 settings for eaccelerator:<br>
 <blockquote>zend_extension="/usr/local/lib/php/20090626/eaccelerator.so"<br>
 eaccelerator.shm_size="32"<br>
 eaccelerator.cache_dir="/tmp/eaccelerator"<br>
 eaccelerator.enable="1"<br>
 eaccelerator.optimizer="1"<br>
 eaccelerator.check_mtime="1"<br>
 eaccelerator.debug="0"<br>
 eaccelerator.filter=""<br>
 eaccelerator.shm_max="0"<br>
 eaccelerator.shm_ttl="600"<br>
 eaccelerator.shm_prune_period="0"<br>
 eaccelerator.shm_only="0"<br>
 eaccelerator.compress="1"<br>
 eaccelerator.compress_level="9"<br>
 </blockquote>
 Playing with eaccelerator.shm_max ("2M","8M") made no difference. It
 seems that little more work is needed to make this version work.<br>
 <blockquote># uname -a<br>
 FreeBSD mainframe.kkip.pl 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Apr&nbsp; 9
 23:12:44 CEST 2010&nbsp;&nbsp;&nbsp;&nbsp;
 <a class="moz-txt-link-abbreviated" href="mailto:ncpnc@mainframe.kkip.pl:/usr/obj/usr/src/sys/AMD64SMP8">ncpnc@mainframe.kkip.pl:/usr/obj/usr/src/sys/AMD64SMP8</a>&nbsp; amd64<br>
 </blockquote>
 <blockquote>#php -v<br>
 PHP 5.3.2 with Suhosin-Patch (cli) (built: Apr&nbsp; 9 2010 15:24:51)<br>
 Copyright (c) 1997-2009 The PHP Group<br>
 Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies<br>
 </blockquote>
 (There is no eaccelerator in output because It is disabled by now )<br>
 <br>
 <pre class="moz-signature" cols="72">-- 
 Bartosz Stec
 
 </pre>
 </body>
 </html>
 
 --------------020005070700010104090301--

From: Bartosz Stec <bartosz.stec@it4pro.pl>
To: bug-followup@FreeBSD.org, spil.oss@gmail.com
Cc:  
Subject: Re: ports/145619: www/eaccelerator: patch for php 5.3.2
Date: Sun, 11 Apr 2010 14:10:37 +0200

 This is a multi-part message in MIME format.
 --------------020303040200070403070805
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Sorry for html garbage in my previous email.
 I did a little more investigation and found that default behaviour in 
 current eaccelerator version changed a lot, and arguments for 
 ./configure script must be chosen wisely to expect program to work same 
 way as earlier versions.
 Here are details: http://www.eaccelerator.net/wiki/CompileConfiguration
 
 I made an alternative patch to Makefile (based on submitted above) with 
 adjusted CONFIGURE_ARGS. Everything works fine now.
 
 -- 
 IT4Pro Bartosz Stec
 http://www.it4pro.pl
 tel: 607041002
 e-mail: bartosz.stec@it4pro.pl
 
 
 --------------020303040200070403070805
 Content-Type: text/plain;
  name="patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch.txt"
 
 --- Makefile.orig	2008-06-18 14:26:58.000000000 +0200
 +++ Makefile	2010-04-11 13:59:12.353195510 +0200
 @@ -2,25 +2,29 @@
  # Date created:			Sat Mar 1 13:55:55 CET 2003
  # Whom:				Alex Dupre <sysadmin@alexdupre.com>
  #
 -# $FreeBSD: ports/www/eaccelerator/Makefile,v 1.39 2008/06/18 12:26:58 ale Exp $
 +# $FreeBSD: ports/www/eaccelerator/Makefile,v 1.40 2010/04/11 08:10:38 ale Exp $
  #
  
  PORTNAME=	eaccelerator
 -PORTVERSION=	0.9.5.3
 +PORTVERSION=	0.9.6
  CATEGORIES=	www
 -MASTER_SITES=	http://bart.eaccelerator.net/source/${PORTVERSION}/
 +MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/eAccelerator%20${PORTVERSION}/ \
 +		http://bart.eaccelerator.net/source/${PORTVERSION}/
  
  MAINTAINER=	ale@FreeBSD.org
 -COMMENT=	An opcode cache for PHP with encoder and loader
 +COMMENT=	A free open-source PHP accelerator & optimizer
  
 -USE_PHP=	session
 +USE_PHP=	yes
  USE_PHPIZE=	yes
  USE_PHP_BUILD=	yes
 +IGNORE_WITH_PHP=4
  
  CONFIGURE_ARGS=	--enable-eaccelerator=shared \
  		--with-eaccelerator-shared-memory \
  		--with-eaccelerator-sessions \
  		--with-eaccelerator-content-caching \
 +		--without-eaccelerator-encoder \
 +		--without-eaccelerator-loader \
  		--with-eaccelerator-userid=80
  
  USE_BZIP2=	yes
 @@ -31,24 +35,10 @@
  
  .include <bsd.port.pre.mk>
  
 -.if ${PHP_VER} == 5
 -CONFIGURE_ARGS+=	--without-eaccelerator-encoder
 -PLIST_SUB+=		ENCODER="@comment "
 -.else
 -PLIST_SUB+=		ENCODER=""
 -
 -post-build:
 -	@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \
 -		${WRKSRC}/encoder.php > ${WRKSRC}/encoder
 -.endif
 -
  do-install:
  	@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
  	${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
  	       ${PREFIX}/lib/php/${PHP_EXT_DIR}
 -.if ${PHP_VER} == 4
 -	${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin
 -.endif
  
  post-install:
  .if !defined(NOPORTDOCS)
 
 --------------020303040200070403070805--

From: Spil Oss <spil.oss@googlemail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145619: www/eaccelerator: patch for php 5.3.2
Date: Sun, 11 Apr 2010 19:42:05 +0200

 --000e0cd11aa8fed1a80483f98b77
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Building with the CONFIGURE_ARGS from your patch results in
 
 configure: WARNING: Unrecognized options:
 --with-eaccelerator-shared-memory, --with-eaccelerator-sessions,
 --with-eaccelerator-content-caching, --without-eaccelerator-encoder,
 --without-eaccelerator-loader
 
 http://www.eaccelerator.net/wiki/CompileConfiguration applies to
 0.9.6 only I guess.
 
 Found out how to create the configure script.... phpize....
 
 These are the configure flags from the config.m4 file
 --enable-eaccelerator =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Enable eaccele=
 rator support
 --without-eaccelerator-crash-detection =A0 Do not include eaccelerator
 crash detection
 --without-eaccelerator-optimizer =A0 =A0 =A0 =A0 Do not include eaccelerato=
 r optimizer
 --without-eaccelerator-info =A0 =A0 =A0 =A0 =A0 =A0 =A0Do not compile the
 eAccelerator information functions
 --with-eaccelerator-disassembler =A0 =A0 =A0 =A0 Include disassembler
 --without-eaccelerator-use-inode =A0 =A0 =A0 =A0 Don't use inodes to determ=
 ine
 hash keys (never used on win32)
 --with-eaccelerator-debug =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Enable the debug c=
 ode so
 eaccelerator logs verbose.
 --with-eaccelerator-userid =A0 =A0 =A0 =A0 =A0 =A0 =A0 eAccelerator runs un=
 der this
 userid, only needed when using sysvipc semaphores.
 --with-eaccelerator-doc-comment-inclusion =A0If you want eAccelerator to
 retain doc-comments in =A0internal php structures.
 
 Attached a patch that doesn't complain about the unrecognized
 configure args and works for me on at least one machine.
 
 Caching enabled 	yes
 Optimizer enabled 	yes
 Check mtime enabled 	yes
 Total memory 	16.00 mb
 Memory in use 	4.64 mb (29%)
  =09
 Free memory 	11.36 mb
 Cached scripts 	52
 Removed scripts 	0
 =09
 Build information
 eAccelerator version 	0.9.6
 Shared memory type 	mmap_anon
 Semaphore type 	spinlock
 
 Kind regards,
 
 Spil.
 
 On Sun, Apr 11, 2010 at 5:46 PM, Spil Oss <spil.oss@googlemail.com> wrote:
 > There's considerably less functionality in 0.9.6
 > The encoder is removed
 > The user cache functions are removed
 > The session handler is removed
 >
 > Since I didn't find a configure script in the work dir I removed all
 > the CONFIGURE_ARGS... Lack of porting-experience.....
 >
 > This is my eaccelerator config:
 >
 > zend_extension=3D"/usr/local/lib/php/20090626/eaccelerator.so"
 > eaccelerator.shm_size =3D "16"
 > eaccelerator.cache_dir =3D "/var/cache/eaccelerator"
 > eaccelerator.enable =3D "1"
 > eaccelerator.optimizer =3D "1"
 > eaccelerator.debug =3D 0
 > eaccelerator.log_file =3D "/var/log/httpd/eaccelerator_log"
 > eaccelerator.name_space =3D ""
 > eaccelerator.check_mtime =3D "1"
 > eaccelerator.filter =3D ""
 > eaccelerator.shm_ttl =3D "0"
 > eaccelerator.shm_prune_period =3D "0"
 > eaccelerator.shm_only =3D "0"
 > eaccelerator.allowed_admin_path =3D "/usr/local/www/data/restricted"
 >
 > control.php lists
 >
 > Caching enabled =A0 =A0 =A0 =A0 yes
 > Optimizer enabled =A0 =A0 =A0 yes
 > Check mtime enabled =A0 =A0 yes
 > Total memory =A0 =A016.00 mb
 > Memory in use =A0 15.97 mb (100%)
 >
 > Free memory =A0 =A0 33.62 kb
 > Cached scripts =A0241
 > Removed scripts =A0 =A0 =A0 =A0 0
 >
 > Build information
 > eAccelerator version =A0 =A00.9.6
 > Shared memory type =A0 =A0 =A0mmap_anon
 > Semaphore type =A0spinlock
 >
 > Kind regards,
 >
 > Spil
 >
 > On Sun, Apr 11, 2010 at 2:41 PM, Bartosz Stec <bartosz.stec@it4pro.pl> wr=
 ote:
 >> On 2010-04-11 13:46, Spil Oss wrote:
 >>>
 >>> Just installed and running it on a 7.2 system (the first system is
 >>> 8.0-p2), noticable difference is that it's i386 not amd64.
 >>>
 >>> Very basic/empty port, maybe you can find something on the
 >>> eaccelerator mailinglist?
 >>>
 >>> Kind regards,
 >>>
 >>> Spil
 >>>
 >>
 >> Hello Spil
 >>
 >> As you probably already noticed, CONFIGURE_FLAGS you removed from origin=
 al
 >> Makefile was a cause.
 >> Could you please show me your eaccelerator related settings from you php=
 .ini
 >> ?
 >> If I understand correctly the meaning of these flags you made eaccelerat=
 or
 >> very limited in functionality (no shared memory, no content-caching,
 >> optimizer only?), but safer, =A0and I'm very interested what settings al=
 low it
 >> to work such.
 >>
 >> Cheers.
 >>
 >> --
 >> IT4Pro Bartosz Stec
 >> http://www.it4pro.pl
 >> tel: 607041002
 >> e-mail: bartosz.stec@it4pro.pl
 >>
 >>
 >
 
 --000e0cd11aa8fed1a80483f98b77
 Content-Type: text/plain; charset=US-ASCII; name="eaccelerator-0.9.6.patch.txt"
 Content-Disposition: attachment; filename="eaccelerator-0.9.6.patch.txt"
 Content-Transfer-Encoding: base64
 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HtQUkVGSVh9L2xpYi9waHAvJHtQSFBfRVhUX0RJUn0N
 Ci0uaWYgJHtQSFBfVkVSfSA9PSA0DQotICAgICAgICR7SU5TVEFMTF9TQ1JJUFR9ICR7V1JLU1JD
 fS9lbmNvZGVyICR7UFJFRklYfS9iaW4NCi0uZW5kaWYNCg0KIHBvc3QtaW5zdGFsbDoNCiAuaWYg
 IWRlZmluZWQoTk9QT1JURE9DUykNCg==
 --000e0cd11aa8fed1a80483f98b77--

From: Bartosz Stec <bartosz.stec@it4pro.pl>
To: spil.oss@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/145619: www/eaccelerator: patch for php 5.3.2
Date: Sun, 11 Apr 2010 22:00:43 +0200

 You were right from the beginning.
 I have no Idea why it didn't worked at first time. Maybe portupgrade 
 procedure leaved some garbage in eaccelerator files?
 I just checked error log from configure and indeed those options were 
 unrecognized (but without them my installation doesn't work at all!). So 
 I removed them again, did 'make clean deinstall reinstall' for 
 eaccelerator port, restarted httpd and now everything is OK. Sorry for 
 unnecesary noise and thanks for patches :)
 
 -- 
 Bartosz Stec
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->glarkin 
Responsible-Changed-By: glarkin 
Responsible-Changed-When: Thu Apr 15 09:20:46 EDT 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145619 
State-Changed-From-To: open->closed 
State-Changed-By: glarkin 
State-Changed-When: Fri Apr 16 20:40:30 EDT 2010 
State-Changed-Why:  
Closed, duplicate of ports/145617 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145619 

From: Evren Yurtesen <yurtesen@ispro.net>
To: bug-followup@FreeBSD.org, spil.oss@gmail.com
Cc:  
Subject: Re: ports/145619: www/eaccelerator: patch for php 5.3.2
Date: Wed, 29 Dec 2010 23:50:28 +0200

 I am seeing the error (in httpd-error.log)
 
 eAccelerator: shmmax should be at least 2MBPHP Warning:  [eAccelerator] 
 Can not create shared memory area in Unknown on line 0
 PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
 
 when I do a :
 
 /usr/local/etc/rc.d/apache22 reload
 
 a 'restart' works fine, when this error occurs then apache goes into 
 loop and eats CPU and one has to manually kill it.
 
 FreeBSD dev.XXX.com 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Sep 21 
 15:13:28 EDT 2010     root@dev.XXX.com:/usr/obj/usr/src/sys/DEV  amd64
 
 root@dev:/root# ls /var/db/pkg | grep php
 php5-5.3.3_2
 php5-ctype-5.3.3_2
 php5-curl-5.3.3_2
 php5-dom-5.3.3_2
 php5-filter-5.3.3_2
 php5-gd-5.3.3_2
 php5-gettext-5.3.3_2
 php5-hash-5.3.3_2
 php5-iconv-5.3.3_2
 php5-json-5.3.3_2
 php5-mbstring-5.3.3_2
 php5-mcrypt-5.3.3_2
 php5-mysql-5.3.3_2
 php5-openssl-5.3.3_2
 php5-pdo-5.3.3_2
 php5-pdo_mysql-5.3.3_2
 php5-readline-5.3.3_2
 php5-session-5.3.3_2
 php5-simplexml-5.3.3_2
 php5-soap-5.3.3_2
 php5-xml-5.3.3_2
 php5-zlib-5.3.3_2
 phpMyAdmin-3.3.7
 root@dev:/root# ls /var/db/pkg | grep eaccel
 eaccelerator-0.9.6.1_1
 root@dev:/root# grep eaccel /usr/local/etc/php.ini
 zend_extension="/usr/local/lib/php/20090626/eaccelerator.so"
 eaccelerator.cache_dir="/var/tmp/eaccelerator"
 root@dev:/root# grep zend_extension /usr/local/etc/php.ini
 zend_extension="/usr/local/lib/php/20090626/eaccelerator.so"
 zend_extension = /usr/local/ioncube/ioncube_loader_fre_5.3.so
 zend_extension_ts = /usr/local/ioncube/ioncube_loader_fre_5.3_ts.so
 root@dev:/root#
 
 What other information do you need? Are you able to reproduce it?
>Unformatted:
