"./Configure, configure
When building a web server, you need to use ". /configure -- with-apxs = "+" apxs address ". Generally, the address of apxs is based on the online tutorial: "/usr/bin/apxs" or "/usr/local/apache/bin/apxs ". In this case, you may not be able to find apxs and report errors such as "configure: error: Invalid location for apxs: '/usr/local/apache/bin/apxs'" and "configure: error: cannot find the WebServer"
The first error is because the address does not exist, that is, there is no apache directory, the second reason is that you do not need to find apxs or the apxs you have found (because/usr/bin/apxs exists during installation)
Well, we know the problem is that we cannot find the correct apxs. Then we can use the "which apxs" command to find the correct apxs location (for example,/bin/apxs ), then add the path ". /configure -- with-apxs = "(for example ". /configure -- with-apxs =/bin/apxs "), and then you can.
This article sets up the server process reference: http://blog.sina.com.cn/s/blog_4881040d0100zdwl.html
Don't ask me who I am, please call me a red scarf