You can change the port number in the "Settings" tab of PHPstudy: 1. Find the "Server" section; 2. Enter the port number you want to use; 3. Save the changes and restart PHPstudy; 4. Verify the changes in your browser using localhost and the new port number.
How to change the PHPstudy port number
Step 1: Open the PHPstudy panel
- In Windows, double-click the PHPstudy icon or launch it from the Start menu.
Step 2: Go to Settings tab
- In the PHPstudy panel, click on the Settings tab.
Step 3: Find the Server section
- On the settings page, scroll down to the Server section.
Step 4: Change the port number
- Under the Server section, find the Port field.
- Enter the port number you want to use. Common port numbers are 80, 8080, or a custom port such as 12345.
- NOTE: Make sure the new port number is not in use by another application.
Step 5: Apply changes
- Click the Save button to apply the changes.
Step 6: Restart PHPstudy
- Click the "Restart" button to restart PHPstudy for the changes to take effect.
Step 7: Verify Port Number
- To verify that the changed port number has been applied, use a web browser to visit your local website .
- In the browser address bar, enter:
http://localhost:<new_port_number></new_port_number>
- If the website loads successfully, the new port number has been successfully applied.
The above is the detailed content of How to change the port number in phpstudy. For more information, please follow other related articles on the PHP Chinese website!

Article discusses configuring phpStudy for CORS, detailing steps for Apache and PHP settings, and troubleshooting methods.

The article details using phpStudy for PHP cookie testing, covering setup, cookie verification, and common issues. It emphasizes practical steps and troubleshooting for effective testing.[159 characters]

Article discusses using phpStudy for PHP file uploads, addressing setup, common issues, configuration for large files, and security measures.

Article discusses setting up custom session handlers in phpStudy, including creation, registration, and configuration for performance improvement and troubleshooting.

The article explains how to use phpStudy to test different payment gateways by setting up the environment, integrating APIs, and simulating transactions. Main issue: configuring phpStudy effectively for payment gateway testing.

The article discusses configuring phpStudy for secure HTTP authentication, detailing steps like enabling HTTPS, setting up .htaccess and .htpasswd files, and best practices for security.Main issue: Ensuring secure HTTP authentication in phpStudy thro

phpStudy enables testing various database connections. Key steps include installing servers, enabling PHP extensions, and configuring scripts. Troubleshooting focuses on common errors like connection failures and extension issues.Character count: 159

The article explains using phpStudy for testing PHP frameworks and libraries, focusing on setup, configuration, and troubleshooting. Key issues include version management and resolving common errors.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Notepad++7.3.1
Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SublimeText3 Linux new version
SublimeText3 Linux latest version