What is an Apache Server?
An Apache server is a software program that allows a computer to act as a web server. Apache is open-source software, which means that it is free and can be modified by anyone. Apache is the most popular web server software available, and it is used by many organizations and individuals around the world. Apache is written in the C programming language and is designed to be highly scalable, reliable, and secure.
How does an Apache server work?
When a user requests a webpage from a website, the request is sent to the Apache server. The Apache server then retrieves the webpage from the website’s files and sends it back to the user’s browser. Apache can also handle other types of requests, like file downloads or database queries. Apache can be configured to run on different operating systems and can be customized to suit the needs of the user.
|Open the Apache configuration file httpd.conf
|Find the line that begins with “AddType application/x-httpd-php .php”
|Save the configuration file and restart Apache
|Save the .htaccess file