Apache HTTP Server

时间:2020-05-03 11:08:52   收藏:0   阅读:101

安装:
技术分享图片

 由于目前不需要那么多功能,可以把httpd-ssl.conf内容全部注掉,等后期有需要再打开修改,因为要修改的东西有点多,新手太难了。

技术分享图片

启动报错:

[Sun May 03 10:22:29.285322 2020] [core:warn] [pid 10784:tid 696] AH00098: pid file F:/XAMPP/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

PHP Warning:  ‘vcruntime140.dll‘ 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0

[Sun May 03 10:22:29.289315 2020] [:emerg] [pid 10784:tid 696] AH00020: Configuration Failed, exiting

删除上述httpd.pid文件,

技术分享图片

技术分享图片

技术分享图片

写在上面安装的,安装2017

技术分享图片

重新启动...

Starting the ‘Apache2.4‘ service

The ‘Apache2.4‘ service is running.

0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0

[Sun May 03 10:24:54.932859 2020] [:emerg] [pid 19536:tid 740] AH00020: Configuration Failed, exiting。

配置php:php.ini-development直接复制改名为php.ini。放开注释

技术分享图片

设置环境变量:将php的ext目录加载path

 技术分享图片

 

 

技术分享图片

 

原文:https://www.cnblogs.com/YsirSun/p/12821065.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!