在RHEL 5.6(Tikanga)64位上安装xampp并启动它时出现以下错误:
lampp]# ./lampp start
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.
做一些阅读,解决方案似乎只是ubuntu安装正确的库。红帽解决方案已经“注释掉了灯泡可执行文件中的64位检查”,如下所示:
=================
# XAMPP is currently 32 bit only
#case `uname -m` in
# *_64)
# if /opt/lampp/bin/php -v > /dev/null 2>&1
# then
# :
# else
# $de && echo "XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System."
# $de || echo "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system."
# exit
# fi
# ;;
#esac
================
我已经这样做了,再次启动灯泡,现在我明白了:
lampp]# ./lampp start
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
Starting XAMPP for Linux ...
./lampp: line 133: /opt/lampp/share/lampp/nogroupcheck: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
./lampp: line 506: /opt/lampp/share/lampp/phpstatus: No such file or directory
XAMPP: Starting Apache...
./lampp: line 226: /opt/lampp/bin/apachectl: No such file or directory
XAMPP: Error 127! Couldn't start Apache!
./lampp: line 233: /opt/lampp/share/lampp/diagnose: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
XAMPP: Starting MySQL...
./lampp: line 253: /opt/lampp/bin/mysql.server: No such file or directory
XAMPP: Couldn't start MySQL!
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
./lampp: line 140: /opt/lampp/share/lampp/alladdons: No such file or directory
XAMPP for Linux started.
原来我可能确实需要某种类型的库。任何人都可以帮助我哪个?
答案 0 :(得分:0)
您需要安装“ ia32-libs ”才能允许32位二进制文件在64位体系结构上运行。