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.