Apache-when compiling and installing php, the path to the with-apxs2 doesn't know where it is

Source: Internet
Author: User
Environment: SUSEEnterpriseapache is installed through yast {code...} I want to compile and install php again, but when compiling and installing, -- with-apxs2 path does not know where the environment is:
SUSE Enterprise
Apache is installed through yast

Yast2 -- install apache2

I want to compile and install php again, but when compiling and installing, the path of -- with-apxs2 does not know where

Reply content:

Environment:
SUSE Enterprise
Apache is installed through yast

Yast2 -- install apache2

I want to compile and install php again, but when compiling and installing, the path of -- with-apxs2 does not know where

Try find/-name apxs2. If you cannot find it, try find/-name apxs again. I tried it on CentOS. apxs2 didn't find it, but apxs did, if you find apxs, replace it with the path -- with-apxs = apxs during compilation.

You can also use the which command, for example, which apxs or which apxs2.

Linux on several search commands, you can look at the article: http://www.ithr.org.cn/blogs/blog1.ph...

This is the apxs of apache2.x. Because it is apache2.x, php is called apxs2.

This should be in the bin directory of apache. If yum is used for installation, it should be in/usr/bin or/usr/local/bin. Use which or where to search for it.

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.