【问题标题】:Xampp Apache server shutdown unexpectedlyXampp Apache 服务器意外关闭
【发布时间】:2020-09-17 15:02:34
【问题描述】:

在使用 XAMPP 时,我尝试启动 APACHE 服务器,但出现错误

0:39:59 AM  [Apache]    Attempting to start Apache app...
10:40:00 AM  [Apache]   Status change detected: running
10:40:02 AM  [Apache]   Status change detected: stopped
10:40:02 AM  [Apache]   Error: Apache shutdown unexpectedly.
10:40:02 AM  [Apache]   This may be due to a blocked port, missing dependencies, 
10:40:02 AM  [Apache]   improper privileges, a crash, or a shutdown by another method.
10:40:02 AM  [Apache]   Press the Logs button to view error logs and check
10:40:02 AM  [Apache]   the Windows Event Viewer for more clues
10:40:02 AM  [Apache]   If you need more help, copy and post this
10:40:02 AM  [Apache]   entire log window on the forums

很多人说要检查Nestat来检查端口是否被占用,但从下图中您可以看到端口8080或端口4433都没有被占用

在检查错误日志后,我看到了这个

PHP Warning:  PHP Startup: Unable to load dynamic library 'php_ftp.dll' (tried: C:\\Users\\Logan\\Desktop\\XAMPP\\php\\ext\\php_ftp.dll (The specified module could not be found.), C:\\Users\\Logan\\Desktop\\XAMPP\\php\\ext\\php_php_ftp.dll.dll (The specified module could not be found.)) in Unknown on line 0

谁能帮我解决这个问题

【问题讨论】:

    标签: php xampp


    【解决方案1】:

    你能检查一下 php.ini 文件,如果文件中的链接正确吗? 来源:PHP Startup: Unable to load dynamic library, when running unit tests

    【讨论】:

      猜你喜欢
      • 2020-09-27
      • 2015-08-11
      • 2021-10-04
      • 2013-08-20
      • 2021-06-28
      • 2022-01-21
      • 1970-01-01
      相关资源
      最近更新 更多