【发布时间】:2015-09-05 23:50:46
【问题描述】:
在我的 .htaccess 文件中,我需要打开以下内容:
php_flag display_errors On
php_value error_reporting 2147483647
但是,如果我的 IP 正在访问该站点,我只想这样做。
有什么想法吗?
类似...
if (ip == "x.x.x.x") {
php_flag display_errors On
php_value error_reporting 2147483647
}
需要在 .htaccess 中而不是在 PHP 中执行此操作,谢谢!
【问题讨论】: