Window版PHP中使用getenv(“REMOTE_ADDR”)会直接报500错误,有谁遇到过?

电脑用户511912

只要使用getenv("REMOTE_ADDR")函数时,直接报错如下;

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@php.cn to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

问题比较着急?请联系QQ:760483
无数据提示还没有回复,楼主喊你快去抢前排~~~我来回答