Question:
what is an apache server. what does php,mysql got to do with it?
Abhilash M
2013-03-25 04:39:23 UTC
can somebody please explain how it all works..n can you tell me where I can find a simple application with php as frontend and mysql as a backend. please help me.
Five answers:
deonejuan
2013-03-25 06:21:55 UTC
63% of the web servers connected to the internet are Apache. You can add the LAMP stack -- Linux, Apache, MySql, (Python or PHP). To make php actions you link a folder on the computer to Apache. If the browser launches a web page from the linked folder it will look for PHP scripts. MySql is a database which PHP will have SQL-statements to pluck parts of the database then write a new page for the browser. Clicking on a link can cause another PHP script to change the page again.



You have to install the 'stack' of LAMP or WAMP, for MS. You have to start a database. You need to be familiar with and .css and then you can begin PHP.
2013-03-25 04:57:49 UTC
Apache is the standard web server used across the Internet. It normally runs on Linux machines for that purpose as it is faster, more secure and more stable than on Windows. To use it you set it up as a web server with the correct domain name for whatever you are using for, or multiple domains using NameVirtualServer. A standard install including php and mysql will be configured to use these. You then create a database, it is no good getting any applications, as you need to make it do what you want. You create a user with the minimum privileges required to manage your a the database from the web pages as the root user is a dangerous security risk. Then set a password for the root user to lock it. So I suggest you also download the phpmyadmin program as that allows you to manage the tables and fields for the database from a graphical interface. You then write php pages to manipulate the data and read it back to build html pages according to your requirements. Before you even think about starting this you MUST read the php manual and mysql manual. Both are available on line..
MeMeMe
2013-03-25 04:49:06 UTC
Apache is a web server. A web server is a program that receives HTTP requests from a client (e.g. a web browser), processes them and returns data (e.g. an HTML file, an image, a PDF document). The data can be static, i. e. the server can return the content of a file, or dynamic, i. e. the server can create the data on the fly.

PHP is a programming language that can be used to create dynamic web sites. The web server has the PHP runtime execute the script file and sends the output from the script execution to the client. In order to load and save data on the server you can tell PHP to read and write from arbitrary files (e.g. flat text, binary or XML). Most commonly however server side data is stored in a special database, such as MySQL, PostgreSQL or MS SQL. These database servers offer a powerful query language to access the data they contain, called SQL.

Apache, PHP and MySQL is a popular combination, but there are many web servers, many server side programming languages and many database servers that could be used instead.
2013-03-25 06:01:34 UTC
When you type any website address in a browser and press enter, Underlying system locates the machine where this website is located which is actually a web server.



Any machine which is capable of serving web sites or web pages is called Web server. And to act as a web server a machine must have Web Server software like apache, IIS etc. It is this software which actually handles Web sites.



Apache = Web Server Software (aka web server)

Web server = Server or machine where Web Sites & Web server software like apache reside



Web sites are built using many technologies like php, MySql etc



php is a language like c++, java etc, used to create web pages or web sites

MySql is database



Language is native with web server software. Like php is a language used with apache. Similarly asp.net is native to IIS. IIS is a web server developed by Microsoft.
calton
2016-11-01 03:24:52 UTC
i've got self belief WAMP has an icon indicating that the server is energetic. you additionally can verify by way of typing the IP of the host workstation into the handle bar of a internet browser. this is going to load the Index record on the server.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...