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

Apache cannot run after php is installed

尚
Original
2019-10-29 17:56:242978browse

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!

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