Operation and Maintenance
phpstudy
phpstudy v8 keeps 'showing that the port is occupied and is trying to close' solutionphpstudy v8 keeps 'showing that the port is occupied and is trying to close' solution
PHPStudy V8 starts the service by default on port 80, but when port 80 is occupied (generally, port 80 will be occupied by the Windows IIS service) PHPStudy will automatically kill the process occupying the port, and then start the service again. If it is killed If the dead process fails, it will always display "Display port is occupied and trying to close" as shown in the figure below.

So how to solve this problem?
This problem can be solved by modifying the default port number. Here is a step-by-step guide on how to solve this problem.
First start PHPStudy and click [Website] on the left column to enter the website management interface. You can see in the picture below that the port column is all port 80.

Then just click the [Modify] button under [Management] on the right to pop up the website editing interface.

Finally find the port column and change it to 8080.

Note: All website ports must be set to 8080, otherwise the service will still not be opened.
Finally, just start the service again. If it still shows that the port is occupied, please modify the port number again (the port number cannot be the same as the one that has been modified).
Related recommendations: "Solution to the problem that phpstudy port 80 is occupied by system under Win7 system"
The above is the detailed content of phpstudy v8 keeps 'showing that the port is occupied and is trying to close' solution. For more information, please follow other related articles on the PHP Chinese website!
How do I configure phpStudy to handle CORS (Cross-Origin Resource Sharing) requests?Mar 17, 2025 pm 06:14 PMArticle discusses configuring phpStudy for CORS, detailing steps for Apache and PHP settings, and troubleshooting methods.
How do I use phpStudy to test cookies in PHP?Mar 17, 2025 pm 06:11 PMThe 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]
How do I use phpStudy to test file uploads in PHP?Mar 17, 2025 pm 06:09 PMArticle discusses using phpStudy for PHP file uploads, addressing setup, common issues, configuration for large files, and security measures.
How do I set up a custom session handler in phpStudy?Mar 17, 2025 pm 06:07 PMArticle discusses setting up custom session handlers in phpStudy, including creation, registration, and configuration for performance improvement and troubleshooting.
How do I use phpStudy to test different payment gateways?Mar 17, 2025 pm 06:04 PMThe 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.
How do I configure phpStudy to handle HTTP authentication in a secure manner?Mar 17, 2025 pm 06:02 PMThe 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
How do I use phpStudy to test different database connection options?Mar 17, 2025 pm 06:02 PMphpStudy 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
How do I use phpStudy to test different PHP frameworks and libraries?Mar 17, 2025 pm 06:00 PMThe 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

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

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

Atom editor mac version download
The most popular open source editor

Dreamweaver CS6
Visual web development tools

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





