Results 1 to 1 of 1

Thread: Php_flag and php_value problems in error log

  1. #1
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,236

    Default Php_flag and php_value problems in error log

    Typically these are because of your PHP setup which is configured to run as a cgi, as opposed to an apache module, which is inherently a far more secure way to run php. However, you will find some functionalities like php_value and php_flag that will not work on less secure servers that run php as a module.

    This is easily correctable though, all you need to do is put a simple container around your php_value and php_flag directives that you see on your problematic .htaccess file.

    Edit your .htaccess file in your cPanel file manager or however you normally edit your .htaccess file.

    Follow the example format below for your php_flag and php_value directives.

    Code:
    <IfModule mod_php4.c>
    php_value post_max_size 20971520
    php_value upload_max_filesize 20971520
    php_value magic_quotes_gpc off
    </IfModule>
    Last edited by Matt; 02-08-2006 at 06:31 PM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14