Skip to content

Instantly share code, notes, and snippets.

@Prinzhorn
Created July 13, 2017 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Prinzhorn/37628417d3b19dc5d87605d80a58d29b to your computer and use it in GitHub Desktop.
Save Prinzhorn/37628417d3b19dc5d87605d80a58d29b to your computer and use it in GitHub Desktop.
Apache 2 in a folder from command line
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
source /etc/apache2/envvars
apache2 -c "DocumentRoot `pwd`" -c "ServerName localhost" -c "Listen 127.0.0.1:8080" -c "AccessFileName .htaccess" -c "ErrorLog /dev/stdout" -c "CustomLog /dev/stdout common" -e debug -DFOREGROUND -k start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment