franz82 Posted October 10, 2003 Share Posted October 10, 2003 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 Quote Link to comment https://forums.phpfreaks.com/topic/1148-enable-php-debugging-for-ip/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.