MJ wrote:
Thanks, here is the steps what I have done , and in the end sucked. Please
have a look and advise.
----------------------------------------------------------------------------
-----------------------------
# httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/sbin/suexec
# find / -name apxs -print
/usr/local/etc/httpd/bin/apxs
#./configure --with-mysql=/usr/local/ --with-config-file-path=/web/conf/ --w
ith-apxs=/usr/local/etc/httpd/bin/apxs --enable-track-vars
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/etc/httpd/bin/apxs follows
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/etc/httpd/bin/httpd'.
configure: error: Aborting
----------------------------------------------------------------------------
---
I don't know Apache was compiled with DSO support or no but when I run
"httpd -l", output shown "mod_so.c" is included in the list. Perl is also
available.
In case Apache was not compiled with DSO who can I recomile it now without
effecting my all virtual hosts (live customers sites).
Which version of Apache httpd. For V2.x you need to specify --with-apxs2
rather than --with-apxs.
HTH
Chris