Answers for "apache"

1

apache install

sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2
sudo apt-get purge apache2
sudo apt-get install apache2
apt-get purge libapache2-mod-php5 php5 
apt-get install libapache2-mod-php5 php5
Posted by: Guest on June-30-2020
0

apache

cd /Library/WebServer/Documents/
index.html.en
page.php

//Apache config file 
/etc/apache2/httpd.conf

//stop
sudo apachectl -k stop
sudo apachectl stop

//start
sudo apachectl start
sudo apachectl -k start

//restart
sudo apachectl restart

//reload apache web server after editing the config file
$ sudo vi /etc/apache2/httpd.conf

//Make changes as per your needs. Close and save the file. To reload new changes, run:
$sudo apachectl graceful
Posted by: Guest on October-13-2021

Browse Popular Code Answers by Language