Enable/Disable a Site (Linux)
# Linux
sudo a2ensite <site_name>
sudo a2dissite <site_name>
Apache Linux
Enable/Disable a Module (Linux)
# Linux
sudo a2enmod <module_name>
sudo a2dismod <module_name>
Apache Linux
Show Apache Version
# Linux
apachectl -v

# Windows
httpd.exe -v
Apache Windows Linux
Check Apache Configuration
# Linux
apachectl configtest

# Windows
httpd.exe -t
Apache Windows Linux
Reload Server
# Linux
sudo service apache2 reload

# Windows
httpd.exe -k graceful
Apache Windows Linux
Restart Server
# Linux
sudo service apache2 restart

# Windows
httpd.exe -k restart
Apache Linux Windows
Stop Apache Server
# Linux
sudo service apache2 stop

# Windows
httpd.exe -k stop
Apache Windows Linux
Start Apache
# Linux
sudo service apache2 start
# Windows
httpd.exe -k start
Apache
Loading...
Sorry! No result found:(

We don't have any cmd in this platform

Apache

  • Category Installtion
  • Stared 0
  • Website Visit
  • Added 8 months ago
Versions