开发者

php ‘apache_note’ function whilst SUPHP is active

I am using maxminds geoip apache mod extention. It requires the php function 'apa开发者_开发技巧che_note'. However while suphp is active I am unable to access the function.

Ideally I would like to use suphp as I understand it offers security benefits.

Is it possible to use apache_note while also using suphp?


PHP's Apache functions are "only available when running PHP as an Apache module," according to the docs. suPHP operates very differently from mod_php, so it's very unlikely that you could get it working.

As you're using MaxMind's GeoIP service, have you looked at their pure-PHP library on PEAR, or the C implementation on PECL?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜