Home > Article > Backend Development > How to deploy php website
#How is the php website deployed?
Search phpStudy on Baidu and see the official website. We click on the first search content link.
In the carousel on the homepage of the official website, you can see the words phpStudy download immediately. It is a convenient PHP integrated development environment and currently only supports the windows platform.
After downloading, double-click the software to decompress it. I decompress it now on the d drive. Let’s open the software.
Click the start button like a fool to start nginx and mysql services.
After startup, you need to pay attention to the running status bar. Both nginx and mysql running status need to be green!
Select the other options menu->Website root directory, and the root directory of the site will pop up. We put the relevant source code here.
Enter 127.0.0.1/phpinfo.php in the browser input box, and we can see the configuration of php.
For example, we can see in the picture above that I have a phpMyAdmin project. Enter 127.0.0.1/phpMyAdmin/ in the browser, so that we can access our php project and send the response Just put the source code in the directory of step 6!
Note
What is introduced here is the deployment of php projects in the windows environment.
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of How to deploy php website. For more information, please follow other related articles on the PHP Chinese website!