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.