Home>Article>Backend Development> Apache deployment php project example sharing
A few days ago, the company used PHP to build a WeChat mini site. Since I have never been exposed to PHP before, I don’t know how to deploy it. Because Java projects were previously deployed using Apache, I wanted to try whether Apache can also deploy PHP projects.
Steps: 1. Install php
2. Add the following content in the Apache configuration file (http.conf)
# 3. Add the following content at the end of the http.conf file:
but add the following content at the end of the http.conf file:
The root directory of the php project.
Related recommendations:
Install PHP development environment and deploy PHP projects
The above is the detailed content of Apache deployment php project example sharing. For more information, please follow other related articles on the PHP Chinese website!