search
HomeBackend DevelopmentPHP Problemphp cannot start normally

php cannot start normally

Oct 10, 2019 am 10:52 AM
php

php cannot start normally

What should I do if php cannot start normally?

1. Port conflict:

Another server occupies port 80 (such as IIs server or tomcat). Because the default port is 80, this problem will occur.

I checked, installed the IIs server, started it, and then stopped the service, but still couldn't start apache.

I see that some people say that other software industries may occupy this port. Then, enter the command in the cmd command line: netstat -na;

Check, no other software is occupying it.

2. Check the PHP manual and find a sentence

"You can choose other paths but it is best not to use paths with spaces in the middle (for example: C:\Program Files\PHP is not suitable." OK), some web servers will crash if you do this."

My php files are placed under D:\Program Files\PHP. So that might be the problem.

So, modify the path to D:\php.

Restart apache successfully.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of php cannot start normally. 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

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment