Sign up to create your own snipts, or login.

Public snipts » bhubbard's snipts » (gs) Default php.ini

posted on Mar 17, 2009 at 10:09 a.m. EDT in 
  • ; This is a example php.ini created by Brandon
    
    ; Instructions
    
    ; To use this file you will need to rename it php.ini and uncomment (by removing the semicolon) or add directives you wish to use. 
    ; Be sure not to uncomment the Descriptions
    ; For a complete list of valid directives, visit: http://us2.php.net/manual/en/ini.php
    
    ; For more information check out the following resources:
    ; (mt) Knowledge Base - http://kb.mediatemple.net
    ; (mt) Forums - http://kb.mediatemple.net/questions/824/
    ; (mt) System Status - http://status.mediatemple.net
    
    ; HOWTO: edit php.ini for (gs) Grid-Service users - http://kb.mediatemple.net/questions/137/
    ; HOWTO: edit php.ini for (dv) Dedicated-Virtual users - http://kb.mediatemple.net/questions/664/
    
    ;
    ;-----------------------------------------------------------------------------------------------------------
    
    [PHP]
    ; We highly recommend that you leave this options enabled
    cgi.fix_pathinfo=1
    
    ; Increase maximum post size
    ;post_max_size = 20M
    
    ; Increase execution time
    ;max_execution_time = 300
    
    ; Increase php Upload Filesize
    ;upload_max_filesize = 20M
    
    ; Uncomment to turn on register_globals
    ;register_globals = true
    
    ; Turn on Safe Made (default is off for your domains)
    ;safe_mode = on
    
    ;include_path = (.:/usr/local/php-4.x.x-x/share/pear/:/path/to/new/includes)
    
    ; Why is allow_url_fopen disabled on the (gs) Grid-Service? - http://kb.mediatemple.net/questions/793/
    ;allow_url_fopen = On
    
    ; Please be sure to also uncomment the following if you enable allow_url_fopen.
    ;memory_limit = 100M
    ;cgi.fix_pathinfo=1
    
    ; ;-----------------------------------------------------------------------------------------------------------
    ; For performance reasons, (mt) does not load all of the modules that are available
    ; into PHP. You may uncomment any one of the following "extension" lines to enable
    ; the desired module
    
    ; Salblotron XSLT
    ;extension=xslt.so
    
    ; save in local tmp
    session.save_path=/home/3628/data/tmp
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.