Doug,
To elaborate on Keith's post, both static and dynamic refer to running PHP as an Apache module. The difference is with a static installation, PHP linked directly into Apache and requires you to recompile Apache everytime you recompile, upgrade, or add extensions to PHP. A dynamic installation let's you recompile the PHP DSO at will without needing to recompile Apache as the DSO is loaded into the server via httpd.conf. The --with-apxs config option indicates that you are using the DSO.
For command line, you need to compile a PHP CGI binary executable. To do this, issue make clean and rebuild PHP without the --with-apache and --with-apxs options.
geoff