无法启动 xamp 它显示如下错误消息

无法启动 xamp 它显示如下错误消息
Starting XAMPP for Linux 1.5.3a...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory
XAMPP: Starting Apache with SSL ...
XAMPP: Error 127! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: Starting MySQL...
/opt/lampp/bin/mysql.server: 74: /opt/lampp/bin/mysql.server: source: not found
/opt/lampp/bin/mysql.server: 1: /opt/lampp/bin/mysql.server: /opt/lampp/bin/my_print_defaults: not found
/opt/lampp/bin/mysql.server: 1: /opt/lampp/bin/mysql.server: /opt/lampp/bin/my_print_defaults: not found
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 302: /opt/lampp/sbin/proftpd: No such file or directory
XAMPP: Error 127! Coul

答案1

看来您安装的 XAMPP 已损坏......

我最好的建议是忘记 XAMPP,从存储库安装所需的内容,如果需要,请自行配置。这似乎是一个很好的教程:https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04

相关内容