Home>Article>Operation and Maintenance> How to enable pseudo-static function in phpstudy 2018 (image and text steps)

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

(*-*)浩
(*-*)浩 Original
2019-09-07 17:58:03 8365browse

Sometimes we need to use pseudo-static when doing local testing of the website, so how to turn on pseudo-static using phpstudy? Let me share with you how to enable the pseudo-static function in phpstudy?

First,double-click the phpstudy software icon to open the phpstudy software.

As shown in the picture:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

Then,find the "Other Options Menu" in the phpstudy software interface.

As shown in the picture:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

Then,find the "Apache extension" under "php extensions and settings" in the pop-up drop-down menu ".

As shown in the figure:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

Then,Find the "rewrite_module" module in the drop-down menu that pops up from the Apache extension, and click to enable it.

As shown in the picture:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)ordirectly open the httpd.conf file in the apache configuration file, search for "LoadModule rewrite_module", and replace the preceding "#" Just delete the number.

As shown in the figure:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

Then,In the httpd.conf file opened in the fifth step, search for AllowOverride None, and then Change AllowOverride None to AllowOverride All (there are many places that need to be replaced, you can use the find and replace function). Save when finished.

As shown in the picture:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

##Then,restart the phpstudy service and click the start button of the phpstudy panel.

As shown in the picture:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

After completion,test whether the pseudo-static we enabled is successful. The simplest way is to install the discuz forum to test whether it is successful. Under normal circumstances, phpstudy turns on pseudo-static by default. No special settings are required.

As shown:

How to enable pseudo-static function in phpstudy 2018 (image and text steps)

Related recommendations:

How to set up pseudo-static in phpStudy v8.0 (Pictures and text)

The above is the detailed content of How to enable pseudo-static function in phpstudy 2018 (image and text steps). 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