Beginners PHP and MySQL (1)

Source: Internet
Author: User
Tags php and php and mysql

I want to use PHP and MySQL, but how do I install and run it? What is the most basic thing I should know in order to get a simple php-mysql application to work?

This is a basic tutorial. No weird code, just a few basics.

To put it another way, there are a lot of tutorials that are based on Unix machines, and this tutorial will focus on the windows-based platform. However, in addition to the installation section, there is more or less a description of Windows, and the other parts are the same for all platforms.

In this tutorial, we will build a small web site step-by-step, using the following features of PHP and MySQL:

1. View the database;

2. Edit the records of the database;

3. Modify the records of the database;

4. Delete the records of the database.

We will learn both MySQL and PHP together to feel them.

Section I-Collection and establishment of necessary projects

Okay, get to work. To start Php-mysql We need some preparation:

1. Running the Web server;

2. Increase PHP expansion;

3. Run MySQL.

The first step is to get and install the Web server

Let's assume that there is already a running Web server on your machine. There are several useful Web servers under Windows that should be

With the program. One thing to note is that to run Php/mysql your chosen Web server should be able to support extensions.

One of the easiest servers to install on Windows is OMNIHTTPD (http://www.omnicron.ab.ca/httpd/, which is a non-

Always good free web server.

Once you get the installation file from the site, double-click it and install the Web server. If you choose to use the default values when you install,

Then you will have it installed under the C:\HTTPD. Once the installation is successful, the installer starts the Web server with a welcome window in the

A new icon is visible in the Windows system tray.

Well, the first step is done.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.