我正在尝试建立一个网络服务器来测试我的 php 脚本。
我下载了最新版本的lampp(1.8.1)并将其解压到/opt/lampp。
现在我刚刚尝试启动它,但它失败了:
xxx@xxx-pc1:/opt/lampp$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.1...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: cannot execute binary file
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/httpd: 1: /opt/lampp/bin/httpd: Syntax error: "(" unexpected
XAMPP: Error 2! 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...
./bin/my_print_defaults: 1: ./bin/my_print_defaults: Syntax error: "(" unexpected
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 333: /opt/lampp/sbin/proftpd: cannot execute binary file
XAMPP: Error 126! Couln't start ProFTPD!
XAMPP for Linux started.
xxx@xxx-pc1:/opt/lampp$
有人知道这个问题吗?