I get a error when I start XAMPP

Problems with the Linux version of XAMPP, questions, comments, and anything related.

I get a error when I start XAMPP

Postby norsac321 » 05. April 2013 20:19

I get this error when I start XAMPP:

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://community.apachefriends.org/f/
XAMPP: Starting MySQL...
/opt/lampp/bin/my_print_defaults: 1: /opt/lampp/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.

Any help would be appreciated.
norsac321
 
Posts: 1
Joined: 05. April 2013 20:12
XAMPP Version: 5.6.3
Operating System: Debian

Re: I get a error when I start XAMPP

Postby JonB » 07. April 2013 00:22

OK -

Starting XAMPP for Linux 1.8.1...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: cannot execute binary file


Since you did not mention the distribution of Linux you installed, I'm going to take a guess you have an ARM processor based 'computer/whatever' (like Raspberry Pi, or an ARM Android single board 'puter' etc.)- XAMPP only runs on x86 and IA64 processors (read that as AMD and Intel). Other processors have differnet instruction sets and need to be compiled just for that processor family.

Corollary of the last - you need to build a real LAMP stack via the installer that came with your distribution

(my best guess with limited information)

Good Luck
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 1 guest