频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

接触 solaris : 安装 apache + php + mysql

来源: 作者: 出处:巧巧读书 2007-10-01 进入讨论组
谢 谢 收 藏 http://www.qqread.com/network/server/h258247.html
  接触 solaris : 安装 apache + php + mysql

这是最简单的安装,请扩展成自己需要的

作者信息
=================================
Macro Zeng
http://www.ctohome.com


Before Start
=======================================
install gtar :
install gcc : gcc-2.8.1-sol7-sparc-local
install gzip : gzip-1.3-sol7-sparc-local
install make : make-3.77-sol7-sparc-local
install gd 1.8.3 :
install autoconf-2.13-sol7-sparc-local;
install perl-5.005_02-sol7-sparc-local
gd-1.8.3.tar.gz
zlib-1.1.3-sol7-sparc-local.gz (安装GD库需要)
jpeg-6b-sol7-sparc-local.gz (和GD库相关)
libpng-1.0.2-sol7-sparc-local.gz (安装GD库需要)
xpm-3.4k-sol7-sparc-local.gz (和GD库相关)


Mysql
=======================================
pkgadd -d mysql-3.23.28-gamma-sun-solaris2.7-sparc
(进入解包后的目录)
./scripts/mysql_install_db


PHP
=======================================
cd apache_1.3.14
./configure --prefix=/usr/local/apache_php
/**
* this step need 1 minutes
**/
cd ../php-4.0.3pl1
./configure --prefix=/usr/local/php --with-apache=../apache_1.3.14 --with-mysql=/usr/local/mysql

--with-ftp --with-xml --enable-track-vars
/**
* NOTE:You must install gd lib before you use --with-gd
* this step need 2 minutes
**/
make
/**
* If not find libtool,you must redirector the make path to /usr/css/bin
* successful message : Making all in pear
* this step need 5 minutes
**/
make install
/**
* successful message : done
* this step need 1 minutes
* creat the /usr/local/php directory
**/

Apache
=======================================
cd ../apache_1.3.14
./configure --prefix=/usr/local/apache_php --activate-module=src/modules/php4/libphp4.a
/**
* successful message : Creating Makefile in src/...
* this step need 2 minutes
**/
make
/**
* successful message : <=== src/support <=== src
* this step need 1 minutes
**/
make install
/**
* successful message : <=== [config]
* this step need 1 minutes
* creat the /usr/local/apache_php directory
**/

Others
======================================
cd ../php-4.0.3pl1
cp php.ini-dist /usr/local/lib/php.ini
/**
* modify /usr/local/apache_php/conf/httpd.conf
* modify /usr/local/lib/php.ini
**/

更多文章 更多内容请看Windows操作系统安装MySQL数据备份系统安装手册专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章