When building a Web server, when compiling the MOD_JK, you need to use "./configure--with-apxs=" + "APXS address", we generally fill in the APXS address is in accordance with the online tutorial: "/usr/bin/apxs" or "/ Usr/local/apache/bin/apxs ". This may not find APXS, will be an error similar to "Configure:error:Invalid location for Apxs: '/usr/local/apache/bin/apxs'" and "Configure: Error:cannot Find the WebServer "
The first is because the address does not exist error, that is, there is no Apache this directory, the second is because you can not find Apxs or find the APXS is not what you need (because I installed /usr/bin/apx is present )
Well, we know that the problem is not to find the right apxs, then we can command "which apxs" first find the correct location of the APXS (such as:/BIN/APXS), and then add this path to the "./configure--with-apxs=" After the "." /configure--with-apxs=/bin/apxs"), and then you can.
This document establishes a server process reference: http://blog.sina.com.cn/s/blog_4881040d0100zdwl.html
Don't ask me who I am, please call me red scarf
"./configure--with-apxs=" Command error cannot find webserver, etc.