Apache 2.2.4 Installation
This is after many months I learn install Apache at my Vmware machine under WinXp. As my recent migrate to Ubuntu, I do install Apache for my learning usage. A bit confuse when choose which version to install. But since my comp plan to migrate Apache 1.x to 2.x, I straight away download the latest release and install.
However, there will never have one time success installation for a beginner. LOL. Hence, there got few starting erros encounter with the solving steps I locate.
Got this when compile apache,
configure: error: Cannot use an external APR-util with the bundled APR
which can resolve by below configure
# ./configure –enable-so –with-included-apr
# make
# make install
or
# ./configure –prefix=/usr/local/apache2 –enable-so –with-included-apr
Use command to start apache:
# /usr/local/apache2/bin/apachectl start
Remember to edit ServerName under /usr/local/apache2/conf/httpd.conf else below error will display when start apache:
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
Then, verify by browse http://localhost/ or http://127.0.0.1/.
*** Drop me any comment if there is any step left and best configure setting to recommend.