Unable to install apache as a service for windows with name wampstackApache 的解决方法之一
出现问题:
电脑win10系统,下的bitnami wamp 7.1.21.0,在下载过程中出现了跳窗显示“unable to install apache as a service for windows with name wampstackApache”,在下载完成后Apache Server无法启动。
尝试解决方法:
百度试了些方法,包括把port 80改成port 8088、找是否有占用port 80的应用等,但都没有用。
最终解决方法:
在谷歌上找到了适用我的解决方案,
https://community.bitnami.com/t/unable-to-install-apache-as-a-service-for-windows-with-name-wordpressapache/40714
大概步骤是将 C:\Bitnami\wampstack-7.1.21-0\apache2\conf 里的 httpd.conf里最后一段
PHPIniDir "C:/Bitnami/wampstack-7.1.21-0/php"
SetEnv OPENSSL_CONF "C:\Bitnami\wampstack-7.1.21-0/apache2/conf/openssl.cnf"
SetEnv PATH "C:\Bitnami\wampstack-7.1.21-0/apache2/bin;${path}"
Include "conf/deflate.conf"
Include "C:/Bitnami/wampstack-7.1.21-0/apache2/conf/bitnami/bitnami.conf"
改成
PHPIniDir "C:/Bitnami/wampstack-7.1.21-0/php"
SetEnv OPENSSL_CONF "C:\Bitnami\wampstack-7.1.21-0/apache2/conf/openssl.cnf"
SetEnv PATH "C:\Bitnami\wampstack-7.1.21-0/apache2/bin"
Include "conf/deflate.conf"
Include "C:/Bitnami/wampstack-7.1.21-0/apache2/conf/bitnami/bitnami.conf"
然后再打开就发现可以启动Apache Server了
小白一只,不是很懂原理,俯身倾耳以请大佬解读。