[checking for Apache 2.0 handler-module support via DSO through APXS…
Sorry, I cannot run apxs. Possible reasons follow:
- Perl is not installed
- apxs was not found. Try to pass the path using –with-apxs2=/path/to/apxs
- Apache was not built using –enable-so (the apxs usage page is displayed)
The output of /usr/local/apache/bin/apxs follows:
./configure: line 6199: /usr/local/apache/bin/apxs: No such file or directory
configure: error: Aborting]
it is the error suggest me the solution for this.
Best Answer
When
httpd -l
does not listmod_so.c
,DSO
won't work, because it's an essential prerequisite; according to the documentation. OtherwiseAPXS
can be installed with the package manager:sudo dnf install httpd-devel
(CentOS)sudo apt-get install apache2-dev
(Ubuntu)This installs it as
/usr/bin/apxs
and./configure --with-apxs
works (without passing a path). One does not even have to installhttpd
/apache2
, in order to use it's development tools - which then can be used to configurePHP
withAPXS
.