apachectl start
will do the job !
Hyper Text Transfer Protocol Daemon
CERN httpd was created on 1990-12-24.
First, open terminal (bash prompt). You must be login as root user to run any one of the following command. Remove Software under Red Hat / RHEL / Fedora / CentOS Linux Use rpm or yum command to delete the software. To list the installed software type rpm -qa | less rpm -qa {software-name} yum list | less yum list {software-name} To get information about httpd package, enter: rpm -qa httpd yum list httpd To remove a software use rpm or yum command as follows rpm -e {software-name} yum remove {software-name} To delete a package called httpd, enter: rpm -e httpd yum remove httpd Delete / Uninstall Software Under Debian / Ubuntu Linux To list installed software type: dpkg --list dpkg --list | less dpkg --list | grep apache To delete the software, enter: sudo apt-get remove {package-name} sudo apt-get remove apache
httpd -v or on Ubuntu apache2 -v
httpd -v or on Ubuntu apache2 -v
CGI was introduced in 1993 in the NCSA web server, httpd.
Apache httpd Project (Apache Http Web Server)
Web server passes the requested document to PHP interpreter, which validates and processes PHP code in it, then the server reads the response from PHP interpreter and returns the resulting response to client.For an instance, Apache HTTPD uses instructions such as AddType, to know how to process various documents, basing on their extensions (the following example is common and may require changes depending on Apache HTTPD and PHP configuration):AddType application/x-httpd-php .php .p8p .txtThis directive instructs Apache HTTPD to let PHP process files which are suffixed with .php, .p8p or .txt, thus files such as index.php, Homepage.p8p and Settings.txt will be processed by PHP.
Most Linux distros are supplied with a number of process monitoring tools; the most used and most flexible is ps.top and htop mostly provide the same information in a more friendly format. Interpreting these commands requires some knowledge of the programs themselves, but most should have at least a man page. The grep command can help you filter the results to a specific program:$ps ax | grep httpd5392 ? S 0:00 /root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d5404 ? S 0:00 /usr/sbin/httpd5409 ? S 0:00 /usr/sbin/httpd5416 ? S 0:00 /usr/sbin/httpd5418 ? S 0:00 /usr/sbin/httpd5420 ? S 0:00 /usr/sbin/httpd5422 ? S 0:00 /usr/sbin/httpd5424 ? S 0:00 /usr/sbin/httpd5425 ? S 0:00 /usr/sbin/httpd12286 ? Ss 0:04 /usr/sbin/httpd25543 pts/0 R+ 0:00 grep httpd30781 ? Ss 0:29 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL30790 ? S 0:12 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL30999 ? S 0:12 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
Most webservers can only be started as root. Make sure that you are using the root account on the server.
It would take about an hour all depending on your experience. Then after that you will have to wait a couple more days or so for everything to be set up fully. But after that then you should be good to go.
The httpd (or webserver), as it is the most common service on the internet, and it's port cannot be changed without breaking compatibility with most web browsers.