& Quot;./configure -- with-apxs = & quot; command errors such as Cannotfindwebserver

Source: Internet
Author: User

"./Configure -- with-apxs =" command errors such as Cannotfindwebserver

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.

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.