Use sudo apt-Get install Apache to install Apache. It does not contain apxs (APACHE extension tool [Apache extension module tool, such as $ apxs-I-a-c mod_foo.c]). install Apache-Dev
Wangjinyang @ wjy-Ubuntu :~ $ Sudo apt-Get install Apache
Apache apache2-mpm-itk APACHE-common
Apache2 apache2-mpm-perchild APACHE-dbg
Apache2.2-common apache2-mpm-preforkApache-Dev
Apache2-common apache2-mpm-threadpool APACHE-Doc
Apache2-dev apache2-mpm-worker APACHE-Modules
Apache2-doc apache2-prefork-dev APACHE-perl
Apache2-modules apache2-src Apache-SSL
Apache2-mpm apache2-threaded-dev apachetop
Apache2-mpm-event apache2-utils APACHE-utils
Wangjinyang @ wjy-Ubuntu :~ $ Sudo apt-Get installApache-Dev
[Sudo] password for wangjinyang:
Reading the package list... complete
Analyzing the dependency tree of the software package
Read status information... complete
The following additional software packages will be installed:
Libdb4.4-dev libexpat1-dev
Recommended software packages:
Apache-ssl apache-perl db4.4-Doc
The following [new] software packages will be installed:
The Apache-dev libdb4.4-dev libexpat1-dev
A total of 0 software packages have been upgraded, 3 new software packages have been installed, 0 software packages have to be uninstalled, and 0 software have not been upgraded.
Download a kb package.
After the operation is completed, additional disk space of 2818kb will be consumed.
Do you want to continue? [Y/n] y
Get: 1 http://ubuntu.csie.ntu.edu.tw hard/main libexpat1-dev 2.0.1-0ubuntu1 [134kb]
Get: 2 http://fr.archive.ubuntu.com feisty/Universe APACHE-dev 1.3.34-4.1 [333kb]
Get: 3 http://ubuntu.csie.ntu.edu.tw hard/Universe libdb4.4-dev 4.4.20-11 [547kb]
Download 1014kb, time consumed 60 s (16.7kb/s)
Selected the software package libexpat1-dev that was deselected.
(Reading the database... the system currently has a total of 104434 files and directories installed .)
Extracting the libexpat1-dev (from.../libexpat1-dev_2.0.1-0ubuntu1_i386.deb )...
The software package libdb4.4-Dev that was deselected was selected.
Extracting libdb4.4-Dev (from.../libdb4.4-dev_4.4.20-11_i386.deb )...
Select the software package APACHE-Dev that has been deselected.
Extracting APACHE-Dev (from.../apache-dev_1.3.34-4.1_all.deb )...
Setting libexpat1-dev (2.0.1-0ubuntu1 )...
Setting libdb4.4-Dev (4.4.20-11 )...
Setting APACHE-Dev (1.3.34-4.1 )...
Wangjinyang @ wjy-Ubuntu :~ $
Default location: usr/bin/apxs