PHP environment build the latest method _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
PHP environment to build the latest method. Many friends are very embarrassed about the PHP environment. it is not difficult to configure the PHP environment correctly after many attempts, it will be easy to master the essentials. for beginners and many friends who want to simply configure the PHP environment, it is difficult to configure the PHP environment.
In fact, it is not difficult to configure the PHP environment. it is easy to master the essentials.
For beginners and friends who want to easily configure the PHP environment, I provide a method and PHP environment file
It will make it easy for you to have a high-performance PHP environment, and you can also use the VM management system!


Install IIS
Recommended systems: win2003 Server Edition, win2000 Professional Edition and XP system do not support multi-user IIS
The VM management system cannot be managed, and debugging programs in Windows XP system may often fail due to IIS problems.

We recommend that you use the win2003 Server edition for your website and those who frequently debug and teach your books.
If you have configured the system for a fun game, both systems are very good. some friends say that the win2003 system
A lot of functions are closed, and the interface is not as good as XP. this is not suitable for personal use.
You need to change it a little and turn it on by default, which is a good system for personal computers.
(Win2003 system optimization settings method can be found in: http://www.ie2004.net/jok/index1.htm)

Installation instructions:
Note: php and mysql are both installed on the D disk. it is recommended that you install them in this way if you have your own server.
The approximate path is as follows:

D: disk ----- serv-u (for server users only, local debugging is free of charge)
Mail (for server users only, local debugging is free)
Php
Mysql
EfangVHost4.1 (elastic virtual host Management System 4.1)

E: disk ----- www (IIS user directory, storing IIS user data or local debugging data)


1. install php_setup.exe to the PHP directory on drive D.
Automatic configuration is automatically installed, and no manual configuration is required to solve the problem that beginner users will not set PHP. INI.
After IIS is installed, this file is automatically configured without manual modification.

2. copy the mysql-4.0.24-win folder to disk D and rename the folder to mysql

Use mysqladmin to change the default password.
You can also leave the password blank.
Enter the command prompt: Enter the mysql \ bin folder of disk D.
The initial mysql management account is root without a password
If you want to change the root password of the default account to 123456
Run mysqladmin-u root-p password 123456.
The password does not need to be moved, and the next 123456 is the changed password.
After you press enter, the system will prompt you to enter the password again. if you do not need to change the password, press enter to 123456.


Run the winmysqladmin.exe file in mysql \ binto start MYSQL.
You need to add a default password for the first time.

3. install ZEND
Default installation path: Select your WEB directory when prompted to accelerate the WEB Directory
For example, if the WEB Directory is in WWW of the e disk, select e: \ www. this process needs to be executed twice.
If you want to change PHP. INI in the system folder, select yes.

4. install the VM management system:
The default installation path is drive d. after installation, the "install service. bat" file in the execution folder starts the easy-to-use host management system.
Run http: // 127.0.0.1: 9999 in the browser to log on to the management system. the default username and password are admin.
For instructions on using the host management system, go to the Software official website www.efang.com.cn to download

Explanation:
1. how to make the system support PHP Tutorial: the PHP installation system can be automatically supported after installation.
2. connection between MYSQL and the host management system: start MYSQL. Install the VM management system on disk D
Run the "install service. bat" file in the "D drive EfangVHost4.1" folder to start the Yifang host management system.
Run http: // 127.0.0.1: 9999 in the browser to log on to the management system. the default username and password are admin.
Select "system configuration"-"install and set MySQL"
For the first running, install "install ODBC_3.51.11 driver (MySQL )"
Then fill in the host address: This address does not need to be changed by default (localhost), MYSQL User Name: root,
Password: (this password is the password changed in step 2 above. if it is not changed, the password is blank ).
If the connection to MYSQL is successful, a success prompt is displayed.
3. the host management system enables space supporting MYSQL and PHP:
Select "host type", enter ht01 in the ID field, and set the corresponding parameters. enter "e: \ www" in "Site Directory"
Select: MySQL supported
Then select "create site" and select the host type as ht01.
The administrator account and password are random. Click "Create site", and then click "Manage now"
Select "create MYSQL database" in "database settings"
The space has been activated and supports PHP and MYSQL. For local debugging, enter
Enter the IP address in the host header in "IIS settings" of the local machine, for example, 127.0.0.1.
Enter 127.0.0.1 in the browser to display the successful website activation screen.
4. the win2003 system cannot be debugged on the local machine:
Open IIS, select "WEB service extension", and set "Active Server Pages" to "allow"
In the default pool DefaultAppPool in the application pool
You can change the "pre-defined account" to "network service ".
5. what should I do if I want to delete the MYSQL database and re-debug my PHP Tutorial?
It's easy to go to the data directory of the mysql folder and delete the folder that was automatically created in the VM management system.
File, of course, you can also delete the database created by MYSQL in the VM management system and recreate it.


Related file downloads: http://www.ie2004.net/down/php/default.htm
Note: for the China Netcom line, the speed of telecom users will be slow. In addition, the host has a anti-Leech system. please do not connect to the download.

In fact, it is not difficult to configure the PHP environment. it is easy for beginners to master the essentials and to simply configure the PHP environment...

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.