热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

我的[L]AMP安装记录

来源: 作者: 时间:2008-06-25 Tag: 点击:


# 下面是分别编译各扩展
# bcmath    filter   json        mysql      shmop    tidy
# bz2       ftp      mbstring    pcntl      soap     tokenizer
# calendar  gd       mcrypt      pdo_mysql  sockets  [xcache]
# ctype     gettext  [memcache]    pdo        sqlite   xmlreader
# curl      gmp      mhash       posix      sysvmsg  xmlwriter
# dom       hash     mime_magic  recode     sysvsem  xsl
# exif      iconv    mysqli      session     sysvshm  zip

cd ../bcmath
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-bcmath
make && sudo make install

cd ../bz2
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-bz2
make && sudo make install

cd ../calendar
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-calendar
make && sudo make install

cd ../ctype
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../curl
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-curl --with-curlwrappers
make && sudo make install

cd ../dom
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-libxml-dir=/opt/server/lib/libxml
make && sudo make install

cd ../exif
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-exif
make && sudo make install

cd ../filter
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../ftp
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-ftp
make && sudo make install

cd ../gd
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-gd-native-ttf --enable-gd-jis-conv --with-gd=/opt/server/lib/gd --with-freetype-dir=/opt/server/lib/freetype --with-jpeg-dir=/usr/local --with-png-dir=/usr
make && sudo make install

cd ../gettext
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-gettext
make && sudo make install

cd ../gmp
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-gmp
make && sudo make install

cd ../hash
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../iconv
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../json
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../mbstring
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-mbstring
make && sudo make install

cd ../mcrypt
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-mcrypt
make && sudo make install

cd ../mhash
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-mhash
make && sudo make install

cd ../mime_magic
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../mysql
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-mysql=/opt/server/mysql5/
make && sudo make install

cd ../mysqli
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-mysqli=/opt/server/mysql5/bin/mysql_config
make && sudo make install

cd ../pcntl
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --enable-pcntl
make && sudo make install

cd ../pdo
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../pdo_mysql
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-pdo-mysql=/opt/server/mysql5/
make && sudo make install

cd ../pdo_sqlite
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../posix
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config
make && sudo make install

cd ../recode
/opt/server/php5/bin/phpize
./configure --with-php-config=/opt/server/php5/bin/php-config --with-recode
make && sudo make install
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册