ID:               20769
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Regexps related
 Operating System: linux debian-woody
 PHP Version:      4.2.3
 New Comment:

i used that for compiling and I didn't get an error  
message, and it hangs.   
   
   
 ./configure --with-gmp --enable-ftp --with-zlib\   
        --enable-bcmath --enable-sysvsem --enable-sysvshm   
--enable-calendar\   
        --enable-trans-sid --enable-versioning   
--enable-track-vars\   
        --enable-inline-optimization   
--with-config-file-path=/etc/php4\   
        --enable-readline --with-pam --with-gettext\   
        --with-gdbm --with-mysql --with-apxs\   
        --with-xml --with-sablot --with-xslt-sablot\   
        --enable-xslt --enable-force-cgi-redirect   
--with-system-regex\   
        --with-dom --enable-mcrypt --with-mhash   
   
I changed it to   
 
./configure --with-gmp --enable-ftp --with-zlib\ 
        --enable-bcmath --enable-sysvsem --enable-sysvshm 
--enable-calendar\ 
        --enable-trans-sid --enable-versioning 
--enable-track-vars\ 
        --enable-inline-optimization 
--with-config-file-path=/etc/php4\ 
        --with-gdbm --with-mysql --with-apxs\ 
        --with-xml --with-sablot --with-xslt-sablot\ 
        --enable-xslt --enable-force-cgi-redirect \ 
        --with-dom --enable-mcrypt --with-mhash 
 
and now it works


Previous Comments:
------------------------------------------------------------------------

[2002-12-02 13:25:57] [EMAIL PROTECTED]

That configure option doesn't exist; in case you mean
--with-regex=system, read ./configure --help:

--with-regex=TYPE
regex library type: system, apache, php. Default: php
WARNING: Do NOT use unless you know what you are doing!

You should not touch this unless you know what you're doing, and my
guess is that you have clue what this is for.

Not a bug -> bogus

------------------------------------------------------------------------

[2002-12-02 13:23:34] [EMAIL PROTECTED]

ereg( '^[a-z0-9_\-\.]+@[a-z0-9_\-\.]+\.[a-z0-9]+',   
'[EMAIL PROTECTED]', $bla);   
   
does hang with 100% cpu&mem so the kernel kills it   
   
Dec  2 17:49:51 whitestar kernel: Out of Memory: Killed   
process 6176 (apache).   
   
it happens only if I compile with --with-system-regex  
 
after I figured that out, I stopped investigating deeper .. 
I don't know if its a debian or php problem ... but I 
though I report it anyway. 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20769&edit=1

Reply via email to