The construction of Php+mysql

Source: Internet
Author: User

Now prepare to study under the development, so to study the next PHP, but the platform is still very unfamiliar, so online to find some information and testing, is posted out for everyone reference.


First step: We first download "Phpstudy 2013" or the latest version;

: http://download.csdn.net/detail/trassion/7569567

Second step: Start the installation of "Phpstudy 2013":


Click "Next" to continue, and then select the installation address, here Note: The installation path cannot have Chinese, must be a full English path;


Direct "Next" to continue, here choose PHP Program Storage directory, that is, the server address, the directory stored in the site! Future http://localhost will be connected directly to the directory;


After selecting the "Next", select the installation of the build, here we choose the default, Apache + PHP + MySQL5;


"Next" Guide Software installation is complete!


3, open Phpstudy, we will see this interface, indicating that the installation is successful, and has started the Apache and MySQL. (The port number of the Phpstudy is 80 by default, if you have a classmate who installs IIS, change the IIS port number, or click "Other options Menu" → "Phpstudy settings" → "Port general Settings" in the Phpstudy interface to change the port number to 8080 or other;)

4, we open the browser, enter http://localhost (or http://127.0.0.1) in the address bar, if the port number is 8080, enter http://localhost:8080 (or HTTP/ 127.0.0.1:8080); When the browser appears the following interface, it means that your computer can allow PHP programs!


5, as long as you make a good PHP site into the program directory, you can allow!




Note:

mysql user name and password are root by default need Zend Optimizer must switch to php5.2  

Why do so many versions?
The original apache+php combination is now difficult to meet the needs of everyone. Some like to use php5.2, others like to use the latest php5.5;
Some have a special feeling for nginx, while others must use IIS. So only a number of combinations can meet the needs of everyone.

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.