Run Apache from command lineWritten by Yujin BobyEdit in WordPressTo start Apache from command line with out using a systemd service file or init script, run /usr/sbin/httpd -DFOREGROUND To stop Apache, press CTRL+C. You can keep it running by running it inside screen or tmux. See Apache