It is very painful to write, although the quality of the article is not high, or hope to see the reprint, please indicate the source, thank you. no one around me taught me. All I had to find online materials and asked my friends on QQ. trust me to read this article, the situation should be the same as me, because no one taught me
It is very painful to write, although the quality of the article is not high, still hope to seeReprinted please indicate the sourceThank you.
No one around me taught me. All I had to find online materials and asked my friends on QQ.
Trust me to read this article, the situation should be the same as that of me, because no one taught, just access the internet to find materials.
Till now, I have not understood some titles, and I have not invented many titles for trust.
I will share my experience with you and hope you can give me guidance.
Software version:
Apache 2.0.54 (install the installation file)
PHP 5.0.4 (the files to be installed are zip files. do not install the files after decompression)
MySQL 4.1.12 (to install)
PhpMyAdmin 2.6.3-rc1)
The above software can be downloaded from their official homepage, orWww.skycn.comDownload.
Step 1: Install Software
Install Apache 2.0.54)
Decompress PHP 5.0.4 (after decompression, I changed the directory name to php5)
Install MySQL 4.1.12 (during installation, I followed the steps below. one step is to enter the password of the root account. this password is very important. Otherwise, your
MYSQL may not be used)
Decompress phpMyAdmin 2.6.3-rc1 (after decompression, I changed the folder name to a simple directory name admin)
When I was referring to other online documents by heroes, the heroes always explained the installed directories to take care of our Cainiao.
After my experiments over the past few days, I feel that it is not necessary to write the path clearly when you set some server parameters.
The following describes how to set this server.
Step 2: Set the software
When setting software, it is very important to distinguish '/' and '\'. once an error is used, your server cannot run normally.
When you modify the default server settings, if '/' is used in the default settings, you use '/'. If '\' is used by default '\', you can use '\'.
First, set mysql.
Use Notepad to create a file named my. ini with the following content:
[Mysqld]
Basedir = X: \ XXXXX \ mysql \
(Here is the directory where you install mysql. that is to say, when you enter this path, you will see the 'bin' directory and 'data' directory)
Datadir = x: *** xx \ data \
(Here is the directory where your data is stored. that is to say, all the database files you created later are under this directory. it is best to set it to the data directory under the mysql directory)
Default-character-set = gbk
Set-variable = max_connections = 1000
I installed winxp. the INI file is stored in the c: \ windows \ directory of the system disk. if my is already in your windows Directory. ini file, you can change the original one, you can also write the above directly shrouded in the past. if your system is win2000, it may be shrouded in the c: \ winnt \ directory of the system disk.
Set Apache.