Home  >  Article  >  Backend Development  >  How to deploy php

How to deploy php

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-27 11:21:373113browse

How to deploy php

Search phpStudy on Baidu and enter the official website.

How to deploy php

Click "Download Now".

How to deploy php

Related recommendations: "php tutorial"

Unzip the downloaded file and open phpStudy.exe.

How to deploy php

Click "Start" to start the nginx and mysql services.

How to deploy php

After startup, you need to pay attention to the running status bar. Both nginx and mysql running status need to be green!

How to deploy php

Select "Other Options Menu" and then click "Website Root Directory" to pop up the root directory of the site. We put the relevant source code here.

How to deploy php

Enter 127.0.0.1/phpinfo.php in the browser input box, and we can see the configuration of php.

How to deploy 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!

How to deploy php

The above is the detailed content of How to deploy php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more