32位的機器隨便裝,幾乎傻瓜式沒什麼說,不過64位的系統會被拒絕掉,並提示你沒法啓動,英文提醒」XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system」
難道不支持64位系統麼? 固然不是,在其內部程序裏作了判斷, 修改下徹底能夠強制執行!
集成包地址:http://www.apachefriends.org/zh_cn/xampp-linux.html 固然不建議生產環境用這個集成包,仍是本身配置下好.
#若是你是64bit的OS,那麼會遇到下列問題
[root@citieyes opt]# /opt/lampp/lampp start
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.php
#解決方法,安裝glibc
[root@citieyes opt]# yum install glibc*html
#將檢查OS版本的程式碼註解掉
[root@citieyes opt]# vim /opt/lampp/lampplinux
# XAMPP is currently 32 bit only[root@citieyes opt]# /opt/lampp/lampp start
#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
# ;;
#esacapache
[root@citieyes opt]# /opt/lampp/lampp startvim