Home>Article>Backend Development> How to set pseudo-static in php space

How to set pseudo-static in php space

藏色散人
藏色散人 Original
2021-07-14 09:15:33 2479browse

How to set up pseudo-static PHP space: 1. Introduce "httpd-vhosts.conf" into httpd.conf; 2. Enable "mod_rewrite.so"; 3. Configure the virtual host.

How to set pseudo-static in php space

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

How to turn on pseudo-static in the PHP configuration environment

1. Introduce httpd-vhosts.conf into httpd.conf

2. Enable mod_rewrite.so in httpd.conf

3. Configure the virtual host in httpd-vhosts.conf

The role of AllowOverride All:

AllowOverride All, is used to implement URL rewriting, which is very important in TP5.Recommended learning: "
PHP Video Tutorial

"

The above is the detailed content of How to set pseudo-static in php space. For more information, please follow other related articles on the PHP Chinese website!

php
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