开发者

Can one create Apache hooks with PHP?

I have googled the topic for a while but haven't found what I'm looking for...开发者_运维百科

Is there a mod for PHP that allows it to act much like mod_wsgi or mod_python so that one can create Apache hooks using PHP?

For example an equivalent to WSGIAccesScript?

Thank you


Only if you use a FASTCGI module such as mod_fastcgi or mod_fcgid which implements access checker hook defined as part of FASTCGI. Obviously, you need be running PHP via FASTCGI.

For mod_fcgid see:

http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidaccesschecker

For mod_fastcgi see:

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiAccessChecker

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜