更新驱动程序后XAMMPP被完全破坏,错误日志不起作用

时间:2020-11-08 17:39:02

标签: apache xampp lamp httpd.conf

我昨天更新了驱动程序,因为我安装了新的图形卡。 还有一个Windows更新,因此它可能已连接(Windows 10功能更新,版本20H2)。

今天我登录,XAMMPP无法正常工作。我已经卸载/重新安装了它,但是现在甚至没有任何错误日志,并且如果我创建它们也不会写入它们。就像无法访问任何文件。这是xammpp主控制面板窗口中的内容:

16:56:41  [Apache]  Error: Apache shutdown unexpectedly.
16:56:41  [Apache]  This may be due to a blocked port, missing dependencies, 
16:56:41  [Apache]  improper privileges, a crash, or a shutdown by another method.
16:56:41  [Apache]  Press the Logs button to view error logs and check
16:56:41  [Apache]  the Windows Event Viewer for more clues
16:56:41  [Apache]  If you need more help, copy and post this
16:56:41  [Apache]  entire log window on the forums

我尝试过的事情

  • 我使用“ netstat -aon | findstr 80”进行了查看,以查看是否有任何端口在使用该端口,并在任务管理器中查找了pid,但我发现的只是LG Ghub,Firefox,Print spooler和关闭任何这些下降没有帮助。
  • 我现在正在使用管理员特权来运行XAMMPP,而不是在工作之前需要它们。
  • 我也尝试在安装程序上使用admin privs重新安装。
  • 运行安装程序时出现有关UAC的消息,因此我在组策略中将其禁用。 UAC消息从安装程序中消失,但是再次重新安装没有帮助。
  • 我去了xampp-control.exe的属性并也以管理员身份运行。
  • 正如我所说的,错误日志是空的,甚至无法正常工作,因此没有太多事情要做。
  • 过去是Skype的问题,但它也没有运行,这个问题似乎更根本。

enter image description here

运行xammpp-start.exe

我收到这些错误消息:

2020-11-08 17:32:36 0 [Note] Using unique option prefix 'key_buffer' is error-prone and can break in the future. Please use the full name 'key_buffer_size' instead.
2020-11-08 17:32:36 0 [Note] mysql\bin\mysqld.exe (mysqld 10.4.14-MariaDB) starting as process 11548 ...
2020-11-08 17:32:36 0 [Warning] Can't create test file \xampp\mysql\data\DESKTOP-DCLN3BE.lower-test
mysql\bin\mysqld.exe: Can't change dir to '\xampp\mysql\data\' (Errcode: 2 "No such file or directory")
2020-11-08 17:32:36 0 [ERROR] Aborting
httpd.exe: Syntax error on line 536 of C:/Tools/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/Tools/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xampp/php/php7ts.dll into server: The specified module could not be found.

但是它想要的文件确实存在- enter image description here

相关PC规格

新显卡:MSI NVIDIA GEFORCE GTX 1660 SUPER VENTUS XS OC显卡'6GB GDDR6,1815MHz,3x

旧显卡:AMD Radeon-蓝宝石PCI Express R7 260X 2GB显卡(OC GDDR5,HDMI,DVI,DP,2S)-删除了AMD驱动程序

无论我使用我自己的httpd.conf / php.ini / my.ini还是安装程序创建的默认问题,都会发生这些问题。我认为这一定是某种权限问题,但我不知道是什么。

更新

我检查了Windows的错误日志并发现:

  • “无法创建测试文件\ xampp \ mysql \ data \ DESKTOP-DCLN3BE.lower-test”
  • PHP警告:“ vcruntime140.dll” 14.0与链接到14.16(C:\ Tools \ xampp / php / php.exe -n -d“ output_buffering = 0” -f安装/安装的PHP版本不兼容。 php)

0 个答案:

没有答案