我試圖設置一個Web服務器來測試我的PHP腳本。LAMPP啓動失敗,錯誤2
我下載了最新版本的lampp(1.8.1)並將其解壓到/ opt/lampp。
現在我只是試圖啓動,但它失敗:
[email protected]:/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.
[email protected]:/opt/lampp$
有誰知道這個問題?
感謝它現在運行:) – Xenogenesis