Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux apache start

sudo service apache2 start
sudo service apache2 restart
sudo service apache2 stop

OR 

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop
Comment

How to start apache2 server

# Start Apache 2 server on Linux/Unix
sudo service apache2 start
Comment

start apache service

systemctl status apache2
Comment

starting apache2 server

$ sudo systemctl stop apache2
$ sudo systemctl start apache2
Comment

attemting to start apache server

// Go to this directory using cmd
C:xamppapachein
Then, type

httpd

It would return a statement indicating why there's an issue. 

Most probably, ServerName in httpd.conf file has two parameters instead of one
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu check user groups 
Shell :: heroku git remote 
Shell :: express-generator ejs 
Shell :: send files via ssh 
Shell :: find program path linux 
Shell :: wslinux backup 
Shell :: Unable to init server: Could not connect: Connection refused 
Shell :: awk how to remove lines in one file that are found in another file 
Shell :: cgi directories 
Shell :: if else in mac terminal 
Shell :: grep specific file 
Shell :: twig install 
Shell :: C:UsersMY PCAppDataRoaming pm/node_modules/node/bin/node: line 1: This: command not found 
Shell :: npm install nodemailer 
Shell :: pytorch anaconda install windows 
Shell :: how to give all permission to a directory in linux 
Shell :: adb shell error: more than one device/emulator 
Shell :: typescript detect circular dependency 
Shell :: timeshift install 
Shell :: git ignore .pyc files 
Shell :: bash write file 
Shell :: pip install googlemaps 
Shell :: bash read file line by line with spaces 
Shell :: problema hora windows ubuntu 
Shell :: update every python library 
Shell :: installing gunicorn with anaconda 
Shell :: git all branches 
Shell :: gitignore global example 
Shell :: install cpanm 
Shell :: file explorer shortcut 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =