Many friends will see phpstudy in the process of learning php, so What does phpstudy do? What is the use? The following article will introduce the content of phpstudy in detail.
First of all, the definition of phpstudy on Baidu Encyclopedia is a program integration package for PHP debugging environment.
This package integrates the latest Apache PHP MySQL phpMyAdmin ZendOptimizer. It is installed once and can be used without configuration. It is a very convenient and easy-to-use PHP debugging environment. This program not only includes the PHP debugging environment; Development tools, development manuals, etc.
After knowing what phpstudy does, let’s take a look at the use of phpstudy:
Step 1: Download phpstudy
Let’s start with php Chinese Download the phpstudy installation package from the Internet, address: phpStudy 2018 latest version or phpstudy2016 stable version
Step 2: Unzip the phpstudy installation package
Unzip and enter the directory after unzipping, as shown in the figure below
#Select the application and click, a dialog box will appear and click OK.
Step 3: After the installation is successful, the following interface will appear
You can start or stop the mysql and Apache services on the interface.
Step 4: Click the other options menu to select the website root directory; you can open the website root directory. PHP projects or files need to be placed in this root directory to run.
Step 5: Enter the php project path or php file path in the address bar, and press the Enter key to run.
Finally:
If you want to run a .php program, it is not necessary to put the program under the WWW folder, but to put it under .php in other directories. The file can also be run, why? Because this directory can be changed. You only need to select the other options menu->phpStudy settings->Port general settings, and then you will see the following window:
The website directory is where you put the code Place, the default is the WWW file under Apache. If you want to put it in another directory, just change the directory of this website. It should be noted that if your directory is changed, then the contents under the original WWW folder will be copied to it.
Related recommendations:
phpstudy usage instructions tutorial
phpStudy quick entry video tutorial
The above is the detailed content of What does phpstudy do? phpstudy usage tutorial. For more information, please follow other related articles on the PHP Chinese website!