Have you tried it on a non debug build? Danny
----- Original Message ----- From: "Marcello Lupo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 8:14 PM Subject: [PHP] In version 4.2.1 ereg_replace break Apache > ## A simple function to remove consonant ## > $temp="thisisatry"; > $temp=ereg_replace("[BCDFGHJKLMNPQRSTVWXYZ]","",$temp); > echo $temp; > > > I get : > > [Mon Aug 12 18:13:29 2002] [notice] child pid 16363 exit signal Segmentation > fault (11) > FATAL: emalloc(): Unable to allocate 1087156712 bytes > > In apache logs. > > > THis is my configure line: > > './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-debug' > '--enable- calendar' '--enable-ftp' > '--with-imap=../imap-2001.BETA.SNAP-0107022325' '-- with-mcrypt' > '--with-mhash' '--with-mysql=/usr' '--enable-memory-limit' '-- > enable-track-vars' '--with-zlib' '--with-pdflib' > '--with-ttf=/usr/local/include' '-- with-jpeg-dir=/usr' > '--with-tiff-dir=/usr' '--with-system-regex=yes' '--with-gettext' > '--with-openssl' '--with-fdftk' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php