Home > Backend Development > PHP Problem > Apache cannot run after php is installed

Apache cannot run after php is installed

Release: 2023-02-28 06:18:02
Original
2943 people have browsed it

Apache cannot run after php is installed

1. Open httpd.conf in the conf file (notepad can also be opened, but there is no line number, it is best to open it with a program editor)

Line 39 Change to the installation directory of Apache

2. There may be a port conflict. I changed it to 8088 (it is not necessary to change it, change it according to the port occupancy of your PC)

3. 367 Change the line to ScriptAlias ​​/cgi-bin/ "apache installation directory/cgi-bin/"

Apache cannot run after php is installed

4, line 383, which is also the Apache installation directory/cgi-bin

Apache cannot run after php is installed

Recommended: php server

The above is the detailed content of Apache cannot run after php is installed. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template