PhpStudy 2016 detailed tutorial (PHP7 supported), phpstudyphp7

Source: Internet
Author: User
Tags vc runtime wordpress database

PhpStudy 2016 detailed tutorial (PHP7 supported), phpstudyphp7

For beginners who are new to PHP, it is very difficult to configure the PHP environment in WINDOWS. It is also tricky to be a veteran. Therefore, whether you are a newbie or veteran, phpStudy 2016 is a good choice. This program integrates Apache + PHP + MySQL + phpMyAdmin + ZendOptimizer, and the latest PHP7 version has been integrated.


The following section describes how to use the phpStudy program for your reference.

Setting up a PHP environment locally and installing and running WordPress is a must for casual kids shoes. In particular, you should try out various themes and plug-ins on the Internet and test them in a local environment, otherwise, many themes and plug-ins will have data in the database, with endless troubles.

1. download the latest phpStudy 2016 and related runtime libraries.

Phpstudy 2016: Link: https://pan.baidu.com/s/1pLHUPpL password: 8mrk

Vc library download: Link: https://pan.baidu.com/s/1ge81zkn password: ytkw

Official website download: phpStudy 2016VC download official website download

Download related VC11 and VC14 runtime libraries:

Link: http://www.bkjia.com/softs/402924.html

Link: http://pan.baidu.com/s/1miyHf7a password: 3k5i

You must install the VC Runtime Library. Otherwise, you cannot run the PHP7 environment.

This package is integrated with the latest Apache + Nginx + LightTPD + PHP + MySQL + phpMyAdmin + Zend Optimizer + Zend Loader for one-time installation and can be used without configuration, it is a very convenient and easy-to-use PHP debugging environment. The program is green, compact, and simple, with a mini 32 M, with a dedicated control panel.

2. Install the phpStudy Program

Decompress the downloaded phpStudy program to the root directory of a partition. The first time you use it, you will be prompted to initialize it:

Then click Start on the main control interface.

3. Create a database

Enter http: // localhost/phpmyadmin/in the address bar of the browser/

Go to the database management tool logon page. The username and password are both root

Go to the database management tools page, click the database in the upper-right corner, enter: wp (name can be any) in the new database, and select: utf8_general_ci,

4. download and install the latest WordPress Program

Decompress the downloaded WordPress program and copy the WordPress folder to the X: \ phpStudy \ WWW directory.

Modify the wp-config-sample.php program file name in the WordPress folder, called the wp-config.php, and then open and edit the content with a dedicated editing software such as Notepad ++:

You only need to modify these three items:

/** WordPress database name */

/** MySQL database username */

/** MySQL Database Password */

Database Name: wp

Both the database username and password are: root

Note that there must be no leading or trailing spaces,

5. Complete WordPress Installation

Enter http: // localhost/wordpress/in the address bar of the browser/

The wordpress installation interface is displayed. Enter the relevant information to complete the installation.

6. Switch to the PHP version

Click the PHP version on the phpStudy main interface to go To the PHP version and different environment combination selection interface.

After selecting, click the application button. phpStudy automatically restarts the service and switches to the environment you selected.

In addition, if phpstudy prompts port 80 and port 3306 are in use, you can try the following solution:

Control Panel-> Administrative Tools-> services

Find the World wide web publishing service.

Right click-> stop, and then double-click-> disable

Modify the default upload size limit

Right-click the phpstudy icon in the taskbar → PHP extension and settings → parameter value settings, and modify three items in total

Post_max_size (only change the size of the uploaded file)

Max_execution_time

Max_input_time

Related reading:

PhpStudy2016 tutorial for PHP local environment

Summary

The above is a detailed tutorial on phpStudy 2016 (PHP7 is supported). I hope it will help you. If you have any questions, please leave a message, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!

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.