文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>接触solaris:安装apache+php+mysql

接触solaris:安装apache+php+mysql

时间:2008-05-17  来源:剑心通明


这是最简单的
[url=javascript:;]安装[/url]
,请扩展成自己需要的
作者信息
=================================
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库相关)
[url=javascript:;]Mysql[/url]

=======================================
pkgadd -d mysql-3.23.28-gamma-sun-solaris2.7-sparc
(进入解包后的目录)
./scripts/mysql_install_db
[url=javascript:;]PHP[/url]

=======================================
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
**/
[url=javascript:;]Apache[/url]

=======================================
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 :

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载