问题描述
- Apache2.4加载php7.0过后无法正常启动提示端口被占用
-
apache安装完成正常启动,但是加载php7.0的时候提示端口被占用调用代码:
LoadModule php7_module "C:/php7.0/php7apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php7.0/"
解决方案
启动后是不是有问题 查看一下日志
解决方案二:
[Mon Dec 07 19:45:19.279206 2015] [mpm_winnt:notice] [pid 3536:tid 572] AH00424: Parent: Received restart signal -- Restarting the server.
httpd.exe: Syntax error on line 529 of C:/Apache24/conf/httpd.conf: Cannot load C:/php7.0/php7apache2_4.dll into server: xd5xd2xb2xbbxb5xbdxd6xb8xb6xa8xb5xc4xc4xa3xbfxe9xa1xa3
[Mon Dec 07 19:45:21.302593 2015] [mpm_winnt:notice] [pid 3360:tid 472] AH00364: Child: All worker threads have exited.
日志是这个样子的
时间: 2024-09-17 03:26:23