Many friends in the process of learning PHP will see phpstudy this thing, then
What does Phpstudy do? What's the use? The next article will give you a detailed introduction of the contents of Phpstudy.
First in the Baidu Encyclopedia on the definition of phpstudy is a PHP debugging environment of the program integration package.
The package integrates the latest apache+php+mysql+phpmyadmin+zendoptimizer, one-time installation, no need to be configured to use, is a very convenient and useful PHP debugging environment, the program not only includes the PHP debugging environment, but also includes the development tools, Development manuals and more.
After knowing what Phpstudy is doing, let's take a look at the use of Phpstudy:
Step 1: Download Phpstudy
We first download the Phpstudy installation package from the PHP Chinese Web address: Phpstudy 2018 the latest version or phpstudy2016 stable version
Step 2: Unzip the Phpstudy installation package
Unzip, unzip and enter the directory, as shown in
Select Application click, a dialog box appears click OK.
Step 3: After successful installation, the following interface will appear
You can start or stop MySQL and Apache services in the interface.
Step 4: Click the other Options menu to select the site root directory, you can open the site 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 use the ENTER key to run.
At last:
If you want to run a. PHP program is not necessarily to put the program under the WWW folder, placed under the other directory. php files can also be run, why? Because this directory can be changed. You only need to select the other Options menu –>phpstudy set –> port general settings, and you will see the following window:
The site directory is where you put the code, the default is Apache under the WWW file. If you want to put in the other directory, change the site directory on it, it should be noted that: if your directory changed, then the original WWW folder under the contents of the copy of the past.