PHP environment to build the latest method _php Foundation

Source: Internet
Author: User
Tags manual php and php and mysql
Many friends of PHP environment is very difficult, after many attempts are not properly configured
In fact, it is not difficult to configure the PHP environment, master the essentials will be very easy
For novice users and friends who want to simply configure the PHP environment, I provide a method and PHP environment file
Allows you to easily have a high-performance PHP environment, but also can use the virtual host management system Oh!


Installation: You must first verify that IIS is installed on the system
System recommended: Win2003 Server version, Win2000 Professional Edition and XP system does not support multi-user IIS
Virtual Host management system is unable to manage, XP system IIS has problems debugging programs will often appear abnormal.

Win2003 Server Edition is recommended for friends who make Web sites and often debug textbooks
Put the system to good Configuration fun game words These two systems are very good, have friends say Win2003 system
Many features are closed and the interface is not good for XP, not for personal use, in fact, this thing only
Need you to change a little bit, turn off the default thing, is a very good personal computer system
(Win2003 system Optimization setting method see: Http://www.ie2004.net/jok/index1.htm)

Installation Instructions:
Note: PHP and MySQL are installed to D disk, their own server friends also recommend this installation
The approximate path is as follows:

D: Disk-----serv-u (only for server users, this machine debugging free)
Mail (only for server users, native debugging free)
Php
Mysql
EfangVHost4.1 (easy-side virtual Host Management System 4.1)

E: Disk-----www (IIS user directory, storage of IIS user data or native debug data)


1, Php_setup.exe installed to the D-disk PHP directory
Automatically install automatic configuration, without manual configuration, solve the problem that the novice user does not set php.ini
IIS will also be configured automatically after this file is installed, without any manual changes.

2, copy the Mysql-4.0.24-win folder to D disk, folder renamed to MySQL

Use Mysqladmin to change the default password.
Of course, you can not change the password is empty
Enter command prompt: Enter Mysql\bin folder on D disk
MySQL's initial admin account is root, no password
If you want to change the default account root password to: 123456
Then execute: mysqladmin-u root-p password 123456
Where password does not move, the following 123456 is the changed password
Return will be prompted to enter the password again, do not change the direct return, the password will become 123456


Execute: Winmysqladmin.exe file in \ bin in MySQL to start MySQL
The first time you need to add a default password, this password is arbitrary.

3. Installation Zend
Installation path defaults, prompting you to select your Web directory when you need an accelerated web directory
For example, the Web directory in the e-disk of WWW, select e:\www This process needs to be executed twice
Tip If you need to change the php.ini in the System folder, select Yes.

4, install the virtual Host management system:
The default installation path is D disk, and the install service. bat file in the execution folder starts the Easy host management system.
In the browser to execute http://127.0.0.1:9999 can login to the management system, the default username and password are admin
Host management System Usage instructions please go to the software official www.efang.com.cn download

Question explanation:
1, how to enable the system to support PHP textbooks: The installation of the PHP installation system can be automatically supported.
2, MySQL and host management system connection: the MySQL boot. Install the virtual host management system to the D disk
perform: The Installation Services. bat file in the D Disk EfangVHost4.1 folder starts the easy host management system.
Execute http://127.0.0.1:9999 in the browser to login to the management system, the default username and password are admin
After entering select "System Configuration"-"Installation settings MySQL"
First run requires installation odbc_ 3.51.11 driver (MySQL)
then fill in the host address: This address is not changed by default (localhost), MySQL username: root,
Password: (This password is the password changed after the installation step 2 above, if there is no change, the password is blank).
If you connect to MySQL successfully, you will have a successful prompt.
3, host management system opened to support the MySQL and PHP space:
Select the "host Type", the number is filled in: ht01, and set the appropriate parameters, where the "Site Directory" fill out "E:\www"
Select: Support MySQL
and then select "Create Site" Select a host type: ht01
Administrator account and password at random. Then click "Create Site", after successful click: "Manage Now"
Select "Create MySQL database in database Settings"
then this space has been opened and has supported PHP and MySQL. If it is a native debugging, you need to enter this
space in the "IIS Settings", the main head of the IP to fill in the native debugging IP, such as: 127.0.0.1
settings to complete the browser input: 127.0.0.1 can show the success of the site opened the screen
4, Win2003 system cannot be native-debugged:
Open IIS, select: Web service Extensions, set "Active Server Pages" to "Allow
" in the default pool in application pool "DefaultAppPool"
"Predefined accounts" to change to a bit, it is generally "network services."
5, my PHP textbooks debugging problems, to the MySQL library to remove the debugging how to do?
very simple, access to the MySQL folder of the data directory, delete just the virtual host management system in the automatically established folder in the file can be, of course, can also be in the virtual host management system to create a MySQL database deleted to re-establish.


Related file downloads: http://www.ie2004.net/down/php/default.htm
Note: Download address for the Netcom line, the speed of telecommunications users will be slow, the other host has anti-theft chain system, please do not connect to download.

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.