我昨天更新了驱动程序,因为我安装了新的图形卡。 还有一个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
我尝试过的事情
运行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.
相关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的错误日志并发现: