"./configure--with-apxs=" Command error cannot find webserver, etc.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.