ports/145619: www/eaccelerator: patch for php 5.3.2

Spil Oss spil.oss at googlemail.com
Sun Apr 11 18:20:02 UTC 2010


The following reply was made to PR ports/145619; it has been noted by GNATS.

From: Spil Oss <spil.oss at googlemail.com>
To: bug-followup at 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 at 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 at 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 at 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
 X-Attachment-Id: f_g7w4nsr80
 
 IGRpZmYgLXJ1TiBNYWtlZmlsZS5vcmlnIE1ha2VmaWxlDQotLS0gTWFrZWZpbGUub3JpZyAgICAg
 ICAyMDEwLTA0LTExIDE5OjI0OjAxLjAwMDAwMDAwMCArMDIwMA0KKysrIE1ha2VmaWxlICAgIDIw
 MTAtMDQtMTEgMTk6MjE6MDUuMDAwMDAwMDAwICswMjAwDQpAQCAtNiwyMSArNiwyMCBAQA0KICMN
 Cg0KIFBPUlROQU1FPSAgICAgIGVhY2NlbGVyYXRvcg0KLVBPUlRWRVJTSU9OPSAgIDAuOS41LjMN
 CitQT1JUVkVSU0lPTj0gICAwLjkuNg0KIENBVEVHT1JJRVM9ICAgIHd3dw0KLU1BU1RFUl9TSVRF
 Uz0gIGh0dHA6Ly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
 LnBvcnQucHJlLm1rPg0KDQotLmlmICR7UEhQX1ZFUn0gPT0gNQ0KLUNPTkZJR1VSRV9BUkdTKz0g
 ICAgICAgLS13aXRob3V0LWVhY2NlbGVyYXRvci1lbmNvZGVyDQotUExJU1RfU1VCKz0gICAgICAg
 ICAgICBFTkNPREVSPSJAY29tbWVudCAiDQotLmVsc2UNCi1QTElTVF9TVUIrPSAgICAgICAgICAg
 IEVOQ09ERVI9IiINCi0NCi1wb3N0LWJ1aWxkOg0KLSAgICAgICBAJHtTRUR9ICJzfCUlTE9DQUxC
 QVNFJSV8JHtMT0NBTEJBU0V9fGc7IHN8MDc3N3wwNzU1fGciIFwNCi0gICAgICAgICAgICAgICAk
 e1dSS1NSQ30vZW5jb2Rlci5waHAgPiAke1dSS1NSQ30vZW5jb2Rlcg0KLS5lbmRpZg0KLQ0KIGRv
 LWluc3RhbGw6DQogICAgICAgIEAke01LRElSfSAke1BSRUZJWH0vbGliL3BocC8ke1BIUF9FWFRf
 RElSfQ0KICAgICAgICAke0lOU1RBTExfREFUQX0gJHtXUktTUkN9L21vZHVsZXMvJHtQT1JUTkFN
 RX0uc28gXA0KICAgICAgICAgICAgICAgJHtQUkVGSVh9L2xpYi9waHAvJHtQSFBfRVhUX0RJUn0N
 Ci0uaWYgJHtQSFBfVkVSfSA9PSA0DQotICAgICAgICR7SU5TVEFMTF9TQ1JJUFR9ICR7V1JLU1JD
 fS9lbmNvZGVyICR7UFJFRklYfS9iaW4NCi0uZW5kaWYNCg0KIHBvc3QtaW5zdGFsbDoNCiAuaWYg
 IWRlZmluZWQoTk9QT1JURE9DUykNCg==
 --000e0cd11aa8fed1a80483f98b77--



More information about the freebsd-ports-bugs mailing list