Home Operation and Maintenance phpstudy 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)

Sep 07, 2019 pm 05:58 PM
phpstudy Pseudo-static

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 of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to install phpstudy pro How to install phpstudy pro Apr 02, 2024 pm 03:15 PM

PHPstudy Pro is a web development environment software package that enables rapid deployment and testing of web applications. The installation steps are as follows: Download the installation package from the official website. Run the installer and select the installation path and language. After the installation is complete, launch PHPstudy and configure PHP, MySQL, Apache settings. To verify the installation, enter "localhost" in your browser or run the command "php -v" to check the PHP version.

What to do if phpstudy is garbled What to do if phpstudy is garbled Nov 14, 2022 am 09:53 AM

The reason why phpstudy is garbled is because the encoding and decoding methods are inconsistent. The solution: 1. Open the "Control Panel"; 2. Open "Clock, Language and Region"; 3. Click "Region"; 4. Click " Manage" icon; 5. Click "Change System Regional Settings", select "Specific Language", and then click "OK"; 6. Restart the computer.

Why can't phpstudy be installed? Why can't phpstudy be installed? Apr 02, 2024 pm 03:42 PM

PHP Study installation failure may be due to the following reasons: 1. System compatibility issues; 2. Insufficient permissions; 3. File conflicts; 4. Abnormal network connection; 5. Anti-virus software interference; 6. Path problems; 7. System errors. If you encounter a problem that cannot be solved, you can seek support through the PHP Study forum, GitHub or the official website.

How to change the port in phpstudy How to change the port in phpstudy Apr 02, 2024 pm 04:24 PM

In order to change the PHPSTUDY port, follow these steps: Open the Control Panel and navigate to the built-in Web server settings; modify the number in the port number field; save the changes and restart the server; enter the website URL and new port number to verify the changes.

How to read the database in phpstudy How to read the database in phpstudy Apr 02, 2024 pm 04:06 PM

Methods to view the database through PHPstudy include: Direct connection to MySQL Command line Use MySQL Workbench to configure the connection Select the database to view Select the database to view in the left menu through PHPMyAdmin

How to change the phpstudy configuration file How to change the phpstudy configuration file Apr 02, 2024 pm 03:57 PM

You can modify the phpStudy configuration file through the following steps: Find the configuration file (Windows: C:\Windows\phpStudy\php\php.ini; Mac: /Applications/phpStudy/php/php.ini) Open it with a text editor and find the file you want to modify Edit the value of the setting, such as modifying the time zone: date.timezone = Asia/Shanghai Save the changes and restart the Apache service

Let's talk about how to use pseudo-static to hide the php suffix Let's talk about how to use pseudo-static to hide the php suffix Mar 20, 2023 pm 06:46 PM

Pseudo-static refers to the technology of accessing dynamic URL addresses by disguising them as static addresses, while hiding the PHP suffix is ​​to modify the server configuration so that the PHP suffix is ​​no longer displayed when accessing dynamic pages. The advantage of this is that it can enhance the security of the website and avoid being cracked, while also making it more beautiful and increasing the user experience. This article will introduce in detail how to use pseudo-static to hide the php suffix to improve the security and user experience of the website.

What should I do if phpstudy cannot be installed? What should I do if phpstudy cannot be installed? Apr 02, 2024 pm 04:03 PM

Solution for unable to install phpStudy: Check whether the system requirements are met. Disable anti-virus software. Turn off the firewall. Run the installer as administrator. Repair corrupted files: sfc /scannow. Try using an alternative installer. Contact phpStudy technical support.

See all articles