Return to Snippet

Revision: 25255
at March 24, 2010 14:48 by zachharkey


Initial Code
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value memory_limit                    96M
  php_value post_max_size                   32M
  php_value upload_max_filesize             32M
  php_value max_input_time                  180  
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value memory_limit                    96M
  php_value post_max_size                   32M
  php_value upload_max_filesize             32M
  php_value max_input_time                  180
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value memory_limit                    96M
  php_value post_max_size                   32M
  php_value upload_max_filesize             32M
  php_value max_input_time                  180
</IfModule>

Initial URL

                                

Initial Description

                                

Initial Title
Drupal htaccess php_values (increase limits)

Initial Tags
textmate, htaccess, drupal

Initial Language
Other