Run Apache from command line

To 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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *