XAMPP Apache 未启动 - php7ts.dll?

问题描述 投票:0回答:2

我刚刚在 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 进入服务器:找不到指定的程序。” »

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)。

apache xampp
2个回答
0
投票

我也遇到了同样的问题。 将 httpd.conf、httpd-ssl.conf、httpd-xampp.conf 中的所有路径替换为完整路径后,例如:

ServerRoot "d:/program_files/xampp/apache"

apache 启动了。


0
投票

我必须下载 x86 线程安全 PHP 7.3.1 版本才能让 Apache 再次启动。尽管在 Windows 64 位计算机上,x64 无法与我旧的(32 位)Xampp 安装一起使用。

© www.soinside.com 2019 - 2024. All rights reserved.