Subject: Re: pkg/32007: FreeBSD and PHP problem with --enable-memory-limit
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: pkgsrc-bugs
Date: 11/05/2005 23:51:02
The following reply was made to PR pkg/32007; it has been noted by GNATS.

From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32007: FreeBSD and PHP problem with --enable-memory-limit
Date: Sun, 6 Nov 2005 00:50:19 +0100

 --7R/oUIX7ilUHG0fO
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Nov 05, 2005 at 11:33:00PM +0000, pancake@phreaker.net wrote:
 > The fix contains just a bigger limit for PHP, something like 64M is so
 > logic, but disable --disable-memory-limit would make the same effect
 > on ther target system. But obviously making the system 'vulnerable' to
 > a DoS. (sysctl fixable).
 >=20
 > =09
 > --- Makefile.php        1 Nov 2005 23:12:15 -0000       1.30
 > +++ Makefile.php        5 Nov 2005 23:24:03 -0000
 > @@ -22,7 +22,7 @@
 > =20
 > -CONFIGURE_ARGS+=3D       --enable-memory-limit
 > +CONFIGURE_ARGS+=3D       --enable-memory-limit=3D64M
 
 i don't think we should be patching it here.  it is very site specific.
 feel free to adjust the "memory_limit" setting in your php.ini.
 
 regards,
 
 --=20
 -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --
 
 --7R/oUIX7ilUHG0fO
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (NetBSD)
 
 iD8DBQFDbUU7iwjDDlS8cmMRAtzjAJ9XHmWrBx+xFPuzGxwOXdotKf01IACfSmIM
 xXo+Q4fbotySIqy86T8iO3Q=
 =A924
 -----END PGP SIGNATURE-----
 
 --7R/oUIX7ilUHG0fO--