Re: In version 4.2.1 ereg_replace break Apache

From: Date: Tue, 13 Aug 2002 11:01:55 +0000
Subject: Re: In version 4.2.1 ereg_replace break Apache
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-112275@lists.php.net to get a copy of this message
Probably i missunderstand your question but this is my production build... I discovered this problem yesterday after 2 week from the installation?? It is a problem that i had with the dialup_admin package to administer radius account via web, but i was thinking to be a problem of coding of the author of the package, so i left the problem there. But now i have the error with my code. Do you have any ideas? Which difference there is between compiling wit --system-regex and without ? (may the problem reside there?). Bye MArcello On Monday 12 August 2002 21:10, Danny Shepherd wrote: > Have you tried it on a non debug build? > > Danny > > ----- Original Message ----- > From: "Marcello Lupo" <lupo@itspecialist.it> > To: <php-general@lists.php.net> > 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'

« previous php.general (#112275) next »