PHP的apache_note'而SUPHP功能被激活 [英] php ‘apache_note’ function whilst SUPHP is active

查看:117
本文介绍了PHP的apache_note'而SUPHP功能被激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用maxminds geoip的阿帕奇mod延伸。它需要PHP函数apache_note。但是同时suphp活跃,我无法访问的功能。

I am using maxminds geoip apache mod extention. It requires the php function 'apache_note'. However while suphp is active I am unable to access the function.

我非常希望我的理解提供了保障福利使用suphp。

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

时有可能使用apache_note同时还采用suphp?

Is it possible to use apache_note while also using suphp?

推荐答案

PHP的Apache的功能的仅在运行时PHP作为Apache模块,可根据文档。 suPHP 从mod_php的工作非常不同,所以这是非常不可能的,你可以得到它的工作。

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.

当你使用的MaxMind的GeoIP的服务,你有没有看他们的梨纯PHP库,或PECL的 C实现?

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

这篇关于PHP的apache_note'而SUPHP功能被激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆