![]() $ sudo /etc/init.d/httpd restart Restart Apache Web Server with service Command We will use the systemctl status command and provide the service name where apache2 is used for Ubuntu, Debian, Mint and Kali, httpd is used for Fedora, CentOS, RHEL. Check Apache Web Server Statusįirst, we will check the status of the Apache webserver whether it is running or stopped. So while restarting it generally the httpd term is used to describe Apache. Also the RPM-based distributions like CentOS, Fedora, RHEL name it as Httpd. Apache web server is a long-time project which is created in the 1990s and named Apache but Apache version 2 is named Apache2. There are different reasons to restart apache which are generally related to solving issues and increasing performance.īefore starting to explain apache webserver restart we should talk about the Apache web server names. Why Restart Apache Web Server?īefore learning how to restart the Apache web server we will discuss why to restart the Apache web server. Apache Web Server is a service that may be required to restart in different cases. Apache webserver can run PHP web applications and is generally used as Linux+Apache+MySQL+PHP formula in order to create a full-stack web application. Apache or Apache2 is a popular web server software used by millions of websites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |