我无法在 MacOS Mojave 版本 10.14.5 上使用 XAMPP 7.2.26-0 启动 Apache Web Server
I cannot start Apache Web Server using XAMPP 7.2.26-0 on MacOS Mojave Version 10.14.5
我可以在 MacOS Mojave 版本 10.14.5 上成功安装 XAMPP 7.2.26-0。问题是我无法启动 Apache:
在服务器事件中,我看到了这个:
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Stopping all servers...
Stopping MySQL Database...
/Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql stopped
Restarting all servers...
Starting MySQL Database...
/Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql started at port 3306
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
2020-01-07 11:33:11,210 Jaimes-MacBook-Pro.local proftpd[24257]: warning: unable to determine IP address of 'Jaimes-MacBook-Pro.local'
2020-01-07 11:33:11,211 Jaimes-MacBook-Pro.local proftpd[24257]: error: no valid servers configured
2020-01-07 11:33:11,211 Jaimes-MacBook-Pro.local proftpd[24257]: fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
您认为这是由 IP 地址冲突或其他原因引起的吗?
更新 1
因为我对 ProFTPD 不感兴趣,所以我只是想启动 Apache Web 服务器,这是我在服务器事件中看到的:
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
这会让我认为 Apache Web Server 已成功启动。尽管如此,我仍然看到它的状态为 "Stopped".
更新 2
查看下面我对 Apache Web 服务器的配置。我没有改变任何东西。我使用的是默认配置。
添加到您的主机文件:
127.0.0.1 Jaimes-MacBook-Pro.local
我在 Windows 上安装了 Uniform Server Zero(便携式 WAMP 服务器)。谢谢。
我可以在 MacOS Mojave 版本 10.14.5 上成功安装 XAMPP 7.2.26-0。问题是我无法启动 Apache:
在服务器事件中,我看到了这个:
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Stopping all servers...
Stopping MySQL Database...
/Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql stopped
Restarting all servers...
Starting MySQL Database...
/Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql started at port 3306
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
2020-01-07 11:33:11,210 Jaimes-MacBook-Pro.local proftpd[24257]: warning: unable to determine IP address of 'Jaimes-MacBook-Pro.local'
2020-01-07 11:33:11,211 Jaimes-MacBook-Pro.local proftpd[24257]: error: no valid servers configured
2020-01-07 11:33:11,211 Jaimes-MacBook-Pro.local proftpd[24257]: fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
您认为这是由 IP 地址冲突或其他原因引起的吗?
更新 1
因为我对 ProFTPD 不感兴趣,所以我只是想启动 Apache Web 服务器,这是我在服务器事件中看到的:
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
这会让我认为 Apache Web Server 已成功启动。尽管如此,我仍然看到它的状态为 "Stopped".
更新 2
查看下面我对 Apache Web 服务器的配置。我没有改变任何东西。我使用的是默认配置。
添加到您的主机文件:
127.0.0.1 Jaimes-MacBook-Pro.local
我在 Windows 上安装了 Uniform Server Zero(便携式 WAMP 服务器)。谢谢。