If you get the error apxs: command not found, I take it that, linux is not your hardcore. Because this error is a beginner's question and could be easily resolved as below.
It only shows that your linux server does not have httpd-devel installed. Depending on your type of linux you can use either of these commands to install httpd-devel and therefore get rid of the above problem.
yum install httpd-devel
apt-get install httpd-devel