PHP environment to build the latest method

Source: Internet
Author: User
Keywords PHP environment to build the latest method

Many friends in the PHP environment is very difficult, after many attempts are not configured correctly
In fact, the configuration of the PHP environment is not difficult, master the essentials will be very easy
For beginners and friends who want to simply configure PHP environment, I provide a method and PHP environment file
will make it easy for you to have a high-performance PHP environment, and you can also use a virtual host management system Oh!


Installation: You must first confirm that IIS is already installed on your system
System recommended: Win2003 Server Edition, Win2000 Professional Edition and XP system does not support multiuser IIS
Virtual host management system can not be managed, XP system IIS problem debugger will often appear abnormal.

It is recommended to use Win2003 Server version for Web site and regular debugging textbook friends.
The system to configure the fun game, the two systems are very good, a friend said Win2003 system
Many features are turned off and the interface is not as good as XP, not for personal use, in fact, this thing only
I need you to change it a little bit and turn it off by default, which is a very good PC system.
(see: http://www.ie2004.net/jok/index1.htm) for the optimal setting of the WIN2003 system.

Installation Instructions:
Note: Both PHP and MySQL are installed on the D drive, and friends who own the server also recommend this installation
The approximate path is as follows:

D: Disk-----serv-u (only for server users, native debugging free)
Mail (only for server users, native debugging free)
Php
Mysql
EfangVHost4.1 (Yi Fang 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
Automatic configuration is fully automatic, no manual configuration is required to solve the problem that novice users will not set php.ini
When this file is installed, IIS is automatically configured to complete without manual changes.

2. Copy the Mysql-4.0.24-win folder to the D drive and rename the folder to MySQL

Use Mysqladmin to change the default password.
Of course you can not change the password is empty
Go to command prompt: Enter the Mysql\bin folder of the D drive
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 do not move, the following 123456 is the changed password
Enter the password will be prompted again, do not change the direct return, the password will become 123456


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

3, installation Zend
Install path defaults, prompting you to select your Web directory when you need to speed up the web directory
For example, the Web directory in the e-drive www, select e:\www This process needs to be executed twice
If you are prompted to change the php.ini in the System folder, select Yes.

4, install the virtual Host management system:
The default installation path is D, and the install service. bat file in the execution folder is installed to start the easy host management system.
Browser execution http://127.0.0.1:9999 can be logged into the management system, the default user name and password are admin
Host management system Use instructions to the official software www.efang.com.cn download

Explanation:
1, how to make the system support PHP textbook: Perform installation of the PHP installation system can be automatically supported.
2, MySQL and host management system connection: Start MySQL. Install the virtual host management system to the D drive
Execute: the "Install Service. Bat" file in the D-Disk EfangVHost4.1 folder starts the easy-side host management system.
Execute http://127.0.0.1:9999 in the browser to login to the management system, the default user name and password are admin
after the entry select "System Configuration"-"Installation settings MySQL"
First run requires installation "installation Odbc_ 3.51.11 driver (mysql) "
then fill in the host address: This address is not changed by default (localhost), MySQL user name: root,
Password: (This password for the above installation of the password changed in step 2, if not changed password is empty).
If you connect to MySQL successfully there will be a successful prompt.
3, Host management system open support MySQL and PHP space:
Select "Host Type", fill in the number: ht01, and set the appropriate parameters, where "Site Directory" filled "e:\www"
Select: Support MySQL
and then select "Create a Site" Select the host type: ht01
Administrator account and password are free. Then click "Create Site" and click "Manage Now"
Select "Create MySQL Database" in "Database Settings"
then this space is open and already supports PHP and MySQL. If this is a native debugging, you need to enter this
space "IIS Settings", the host header's IP is filled into the native debug IP, such as: 127.0.0.1
settings to complete the browser input: 127.0.0.1 can display the site successfully opened the screen
4, The WIN2003 system cannot be natively debugged:
Open IIS, select: Web service extensions, set the Active Server Pages setting allow
to
in identity in the default pool in application pool, DefaultAppPool "Pre-defined account" is changed to just one, usually "network Service".
5, my PHP textbook debugging problems, want to remove the MySQL library to re-debug what to do?
very simple, go to the data directory of the MySQL folder, delete the virtual host management system in the automatically established folder of the
file can be, of course, in the virtual host management system to the MySQL database to be deleted re-established.


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

  • 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.