Home>Article>Backend Development> Apache deployment php project example sharing

Apache deployment php project example sharing

小云云
小云云 Original
2018-03-28 11:54:53 3395browse

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!

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