Developing php projects, if you configure the php7 and Apache environment yourself is still a bit complicated, it is much simpler to use phpstudy. Here is an introduction to how to use phpstudy Develop php projects.
First install phpstudy on your computer, preferably in the root directory of the drive letter.
After installing phpstudy, click the start button on the console, and the development environment of php7 and Apache can be used directly.
If the mysql database has been installed on the computer and phpstudy cannot be started automatically, you can run the DOS window to start it manually.
After that, you can set the address and port of the website you developed. Open site domain name management.
Fill in the website domain name, website directory, and website port and save the settings.
Next open the host to modify the configuration.
Add the website domain name set above to the end of the host file.
Place an index.html file in the website directory set above.
Then you can enter the website domain name set above in the browser and open the file of your website.
phpstudy environment configuration is so simple, then just focus on developing web pages.
Recommended tutorial: phpstudy usage tutorial
The above is the detailed content of Detailed graphic tutorial on how to use phpstudy. For more information, please follow other related articles on the PHP Chinese website!