phpstudy所有软件,已经通过360安全检测认证,phpstudy linux web面板(docker),已发布 安全检测与修复

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.

无数据提示还没有回复,楼主喊你快去抢前排~~~我来回答
微信扫码登陆

打开 微信
扫一扫登录