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
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
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us