On 01/29/2011 04:06 AM, Aaron Schulz wrote:
In JavaScriptDistiller, inside of the createParser() function, we have:
$parser-add( '/\\/\\*(.|[\\r\\n])*?\\*\\//' );
It took me hours to track down that this was causing Apache 2.1.11 to crash
on nearly any page view on my test wiki. This
Ilmari Karonen wrote:
Hmm... I don't really know what's going on inside PHP's PCRE
implementation, but you might want to try replacing that regexp with:
$parser-add( '/\\/\\*.*?\\*\\//s' );
The add()s are combined into a single big regex, you can't set dot-all.
Doing it with (?s) may be
On 01/30/2011 04:16 PM, Platonides wrote:
Ilmari Karonen wrote:
Hmm... I don't really know what's going on inside PHP's PCRE
implementation, but you might want to try replacing that regexp with:
$parser-add( '/\\/\\*.*?\\*\\//s' );
The add()s are combined into a single big regex, you
Ilmari Karonen (2011-01-30 15:19):
On 01/30/2011 04:16 PM, Platonides wrote:
Ilmari Karonen wrote:
Hmm... I don't really know what's going on inside PHP's PCRE
implementation, but you might want to try replacing that regexp with:
$parser-add( '/\\/\\*.*?\\*\\//s' );
The add()s are
That's much better than using editbin :)
I added the following:
IfModule mpm_winnt_module
ThreadStackSize 8388608
/IfModule
The stack overflow issue is gone now. This should be in the MW.org apache
config docs and elsewhere (especially for 1.17, since nothing beforehand was
running into this
In JavaScriptDistiller, inside of the createParser() function, we have:
$parser-add( '/\\/\\*(.|[\\r\\n])*?\\*\\//' );
It took me hours to track down that this was causing Apache 2.1.11 to crash
on nearly any page view on my test wiki. This happened when a large JS
bundle is loaded, such as: