Preparation of PHP + MYSQL

Source: Internet
Author: User
The establishment of PHP + MYSQL is now under research and development, so it is necessary to study PHP, but it is still very unfamiliar to this platform, so I found some information on the Internet and tested it, this post is for your reference. Step 1: download [PHPStudy2013] or the latest version;: download. csdn. netdetailtrassion75695

The establishment of PHP + MYSQL is now under research and development, so it is necessary to study PHP, but it is still very unfamiliar to this platform, so I found some information on the Internet and tested it, this post is for your reference. Step 1: Download [PHPStudy 2013] or the latest version;: http://download.csdn.net/detail/trassion/75695

PHP + MYSQL

Now we are preparing to study the development of PHP, so we need to study PHP, but it is still very unfamiliar with this platform. So I found some information on the Internet and tested it. I am posting it for your reference.


Step 1: Download [PHPStudy 2013] or the latest version;

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

Second steps: Start to install PHPStudy 2013 ]:


Click Next and select the installation address. Note: The installation path cannot contain Chinese characters and must be in full English;


Directly [next] continue. Here, select the directory where the PHP program is stored, that is, the server address and the directory where the website is stored! In the future, http: // localhost will directly connect to this directory;


After the selection is complete, click "Next" and select "Install and build". Here we select the default value: Apache + PHP + MySQL5;


[Next] guide the software installation!


3. Open PHPStudy. We will see this interface, indicating that the installation is successful and Apache and MySQL have been started. (The default phpstudy port number is 80. If you have IIS installed, change the IIS port number, alternatively, on the PHPStudy interface, click [Other Options Menu] → [phpstudy settings] → [port general settings] to change the port number to 8080 or another ;)

4. Open the browser and 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 following page appears in the browser, it means that your computer can allow PHP programs!


5. You only need to put the PHP website you have created into the program directory!




Note:

MySQL username and password are both by defaultRootZend Optimizer must be switched to php5.2

Why are there so many versions?
The original apache + php combination is now difficult to meet your needs. Some prefer php5.2, while others prefer php5.5;
Some have a special liking for nginx, and some must use IIS. Therefore, only a combination can satisfy everyone's needs.

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.