Jump to content


Enable PHP Debugging for IP

  • Please log in to reply
No replies to this topic

#1 franz82

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 10 October 2003 - 09:54 AM

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 "" 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 7php_flag display_errors on

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

Thank you,

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users