<commit_before>If this page doesn't help, please post a question on our [Google group](http://groups.google.com/group/minify).

## URIs are re-written incorrectly in CSS output

See [UriRewriting](UriRewriting.wiki.md).

## Builder Fails / 400 Errors

This is usually due to an unusual server setup. You can see the cause of 400 responses using FirePHP (See [Debugging](Debugging.wiki.md)).

## PHP/Apache crashes

[PCRE (which provides regular expressions) commonly crashes PHP](https://www.google.com/search?q=pcre+php+crash) and this is nearly impossible to solve in PHP code. Things to try:

  * Raise Apache's [ThreadStackSize](http://stackoverflow.com/a/7597506/3779)
  * In [php.ini](http://php.net/manual/en/pcre.configuration.php) raise `pcre.backtrack_limit` and `pcre.recursion_limit` to 1000000. These will allow processing longer strings, but also require a larger stack size.
  * Use YUICompressor instead of PHP-based CSS compressors

## Dealing with Javascript errors

Short answer: **use Minify 2.1.4+, use a pre-compressed version of your file, and rename it `*.min.js` or `*-min.js`**. By default Minify won't try to minify these files (but will still gzip them). The [Compressor Rater](http://compressorrater.thruhere.net/) is handy for compressing files individually.

If the error is in your code, enable [debug mode](Debugging.wiki.md) while debugging your code in Firebug or your favorite browser's Javascript debugger. This will insert comments to allow you to keep track of the individual source locations in the combined file.

If you have Java on your web host, you can use the [wrapper for YUI Compressor](https://github.com/mrclay/minify/blob/master/lib/Minify/YUICompressor.php) instead of JSMin. [This thread](http://groups.google.com/group/minify/browse_thread/thread/f12f25f27e1256fe) shows how a user has done this.
<commit_msg>Update CommonProblems.wiki.md<commit_after>If this page doesn't help, please post a question on our [Google group](http://groups.google.com/group/minify).

## URIs are re-written incorrectly in CSS output

See [UriRewriting](UriRewriting.wiki.md).

## Builder Fails / 400 Errors

This is usually due to an unusual server setup. You can see the cause of 400 responses using FirePHP (See [Debugging](Debugging.wiki.md)).

## Long URL parameters are ignored

Some server setups will refuse to populate very long `$_GET` params. Use groups to shorten the URLs.

## PHP/Apache crashes

[PCRE (which provides regular expressions) commonly crashes PHP](https://www.google.com/search?q=pcre+php+crash) and this is nearly impossible to solve in PHP code. Things to try:

  * Raise Apache's [ThreadStackSize](http://stackoverflow.com/a/7597506/3779)
  * In [php.ini](http://php.net/manual/en/pcre.configuration.php) raise `pcre.backtrack_limit` and `pcre.recursion_limit` to 1000000. These will allow processing longer strings, but also require a larger stack size.
  * Use YUICompressor instead of PHP-based CSS compressors

## Dealing with Javascript errors

Short answer: **use Minify 2.1.4+, use a pre-compressed version of your file, and rename it `*.min.js` or `*-min.js`**. By default Minify won't try to minify these files (but will still gzip them). The [Compressor Rater](http://compressorrater.thruhere.net/) is handy for compressing files individually.

If the error is in your code, enable [debug mode](Debugging.wiki.md) while debugging your code in Firebug or your favorite browser's Javascript debugger. This will insert comments to allow you to keep track of the individual source locations in the combined file.

If you have Java on your web host, you can use the [wrapper for YUI Compressor](https://github.com/mrclay/minify/blob/master/lib/Minify/YUICompressor.php) instead of JSMin. [This thread](http://groups.google.com/group/minify/browse_thread/thread/f12f25f27e1256fe) shows how a user has done this.

{'fraction_non_alphanumeric': 0.0961340206185567, 'fraction_numerical': 0.01907216494845361, 'mean_word_length': 4.715758468335788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2731709', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1124, 'n_words': 453}