Jump to content

franz82

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by franz82

  1. I\'m try to use SetEnvIf Apache directive to enable or not PHP display error if the request is send from a particular IP.

     

    I try this code:

     

    SetEnvIf Remote_Addr "195.223.140.129" php_admin_flag display_errors = On
    
    

     

    but not work. From Apache\'s logs:

     

    [error] an unknown filter was not added: PHP

     

    I want to enable this 2 directive:

     

    php_value error_reporting 7
    
    php_flag display_errors on

     

    if client\'s request is send for a particular IP (Remote_Addr condition in SetEnvIf)

     

    Thank you,

    fRANz

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.