Can I create Apache hooks with PHP?

I have searched the topic for a while but did not find what I was looking for ...

Is there a mod for PHP

that allows it to act like mod_wsgi

or mod_python

so that Apache hooks can be created using PHP?

For example, the WSGIAccesScript equivalent ?

thank

+2


source to share


2 answers


Only if you are using a FASTCGI module such as mod_fastcgi or mod_fcgid that implements the access check hook defined as part of FASTCGI. Obviously, you need to run PHP through 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

+3


source


? mod_php

? Or I misunderstood your question.



What do you mean with Apache Hooks?

+1


source







All Articles