Edit report at https://bugs.php.net/bug.php?id=61744&edit=1
ID: 61744
User updated by: bugzilla33 at gmail dot com
Reported by: bugzilla33 at gmail dot com
Summary: preg_match crashes
Status: Not a bug
Type: Bug
Package: *Regular Expressions
Operating System: Win 7 64-bit
PHP Version: 5.4.1RC2
Block user comment: N
Private report: N
New Comment:
I increased by editbin to 8mb and it works!
Why apache is compiling with 256kb stack?
Is stack increasing dangerous?
Previous Comments:
------------------------------------------------------------------------
[2012-04-17 08:58:21] pajoye@php.net
Different pcre version or code, the situation where a crash occurs may differ.
However all the symptoms of a stack related crash are present. Increase it and you
should be good.
------------------------------------------------------------------------
[2012-04-16 20:20:15] bugzilla33 at gmail dot com
I think that this is not the fault of the stack.
In PHP 5.3 this problem does not occur.
------------------------------------------------------------------------
[2012-04-16 17:36:37] pajoye@php.net
Increase the stack, either using the http configuration or using the editbin.exe
utility.
The stack is overridden by the executable running php, in case of mod_php it is
apache's.
------------------------------------------------------------------------
[2012-04-16 17:23:22] bugzilla33 at gmail dot com
No, I have original httpd.conf from package
and original php.ini-development -> php.ini
------------------------------------------------------------------------
[2012-04-16 17:12:08] rasmus@php.net
Are you using mod_security in your Apache?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61744--
Edit this bug report at https://bugs.php.net/bug.php?id=61744&edit=1