0

在 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 安装正确的库。Red Hat的解决方案已经“将lampp可执行脚本中的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]# ./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.

原来我可能确实需要某种图书馆。谁能帮我看看哪个?

4

1 回答 1

0

您需要安装“ ia32-libs ”以允许 32 位二进制文​​件在 64 位架构上运行。

于 2013-05-14T09:47:32.313 回答