經過幾天的努力終於在arm-linux平台上搭建了apache+sqlite+php平台.
apche與sqlite網上有不少資料,而php for arm-linux很少.為了在arm平台上安裝php發了不少時間.所以將搭建過程發表在此,希望對大家有所協助.
Sqlite for Arm Linux
安裝
1、 下載sqlite3.3.8:請到http://www.sqlite.org/download.html,將下載的程式碼封裝解開,將產生sqlite3.3.8目錄
2、 修改configure檔案,將下面語句注釋掉
#if test "$cross_compiling" = "yes"; then
# { { echo "$as_me:$LINENO:: error: unable to find a compiler for building build tools" >&5#echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
# { (exit 1); exit 1; }; }
#fi
. . .
#else
# test "$cross_compiling" = yes &&
# { { echo "$as_me:$LINENO:: error: cannot check for file existence when cross compiling" >&5
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
# { (exit 1); exit 1; }; }
. . .
#else
# test "$cross_compiling" = yes &&
# { { echo "$as_me:$LINENO:: error: cannot check for file existence when cross compiling" >&5
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
# { (exit 1); exit 1; }; }
3、