Problema ao inicializar o Xampp (lampp) no RedHat 6 64 Bits [bad ELF interpreter]

Bom dia galera,

Hoje tive problemas ao startar o Xampp num Red Hat 6 64 Bits, de acordo com o erro abaixo.

A resolução é simples.
Como o Xampp é nativo da arquitetura 32 Bits, e nao havia compatibilidade, instale a biblioteca glibc.i686.

# ./lampp start
Starting XAMPP for Linux 1.7.7...
/opt/lampp/share/lampp/phpstatus: /opt/lampp/bin/php: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/apachectl: /opt/lampp/bin/httpd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Error 126! 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: ./bin/my_print_defaults: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: ./lampp: /opt/lampp/sbin/proftpd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
XAMPP: Error 126! Couln't start ProFTPD!
XAMPP for Linux started.

# yum install glibc.i686

# ./lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

Comentários

  1. “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.”
    Do not worried about , i have one simple solution. Open lampp conf file. Issue the following command.

    $ vi opt/lampp/lampp
    and comment out the following information, as i did.

    # XAMPP is currently 32 bit only

    ResponderExcluir

Postar um comentário