apache2 depends : apr , apr-util ,so compiling apr and apr-util first successively.
compiling apr-util and apr-iconv with parameter: --with-apr=/usr/local/apr
like this:
./configure --with-apr=/usr/local/apr
...
then: make
....
make install
...
over
sudo /usr/local/apache2/bin/httpd
[sudo] password for xiuye:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
sudo /usr/local/apache2/bin/httpd -k stop
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Resources: