【发布时间】:2018-08-18 07:35:06
【问题描述】:
我刚刚在 Vista 上安装了 XAMMP 7.2.2,但无法启动 Apache。每次,我都会收到以下错误消息:
« Apache 2 正在启动... htttpd.exe:C:/xampp/apache/conf/httpd.conf 第 532 行的语法错误:C:/xampp/apache/conf/extra/httpd-xampp.conf 第 17 行的语法错误:无法加载 /xampp /php/php7ts.dll into server : 找不到指定的程序。" »
php7ts.dll 文件在它应该在的位置。
httpd.conf 的第 532 行说:« Include "conf/extra/httpd-xampp.conf" »。
第二个文件 (httpd-xampp.conf) 中的第 17 行说:« LoadFile "/xampp/php/php7ts.dll" »
我在 Vista 上安装了 Visual C++ 2017 (x86)。
【问题讨论】:
-
您解决了这个问题吗?我在 Windows Server 2008 上遇到了完全相同的问题(与 Vista 相同的构建 nr,所有 x86 可执行文件)
-
已经想通了:原来我在 Windows Server 2008 上使用 PHP 7.2.8 - 而 PHP 7.2 不再支持 Windows Server 2008。所以要么坚持 PHP 7.0.x 要么升级服务器。