CentOS 5.4环境下的php5.3.1手动安装
摘要: CentOS 5.4环境下的php5.3.1手动安装
Cent自带的版本是5.1.16,现下载php5.3.1安装包tar.gz,解压到/usr/local/src中
执行下述命令:
./configure \
"--prefix=/usr/local/php" \
"--with-apxs2=/usr/sbin/apxs" \
"--with-config-file-path=/usr/local/php/etc" \
"--with-mysql=/usr/local/mysql" \
"--with-mysqli" \
"--with-libxml-dir=/usr/lib/libxml"
阅读全文
posted @
2010-01-18 12:42 Documents 阅读(586) |
评论 (0) 编辑
FreeBSD 8 mysql apache php java整合
摘要: 1.下载安装FreeBSD 8,DVD1
2.安装mysql 5 - 利用ports安装
cd /usr/ports/databases/mysql50-server/
make install clean # n长的编译过程
rehash
mysql_install_db --user=mysql
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe -user=mysql &
阅读全文
posted @
2010-01-14 13:47 Documents 阅读(833) |
评论 (0) 编辑