接触 solaris : 安装 apache + php + mysql

2016-01-29 15:22 9 1 收藏

接触 solaris : 安装 apache + php + mysql,接触 solaris : 安装 apache + php + mysql

【 tulaoshi.com - PHP 】

接触 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库相关)

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com/php/)


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
**/

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com/php/)

来源:https://www.tulaoshi.com/n/20160129/1495750.html

延伸阅读
标签: PHP
本文目的在于帮助那些刚刚入门的朋友,这是一篇颇为详细的安装说明本人全部调试通过,现在正在调试ORACLE部分,到时再与大家共享。 1.硬件环境: 硬盘:9.2 G ; 内存:128 M ; 网卡:EEpor100 2.软件 操作系统: RedHat 6.2 3.优化RedHat 6.2 安装时选择 ftp 和 dns 编辑文件 /etc/hosts 改为: 202.104.131.100 info....
Freebsd5.1release+httpd-2.0.47+mysql-4.0.14+php-4.3.2+phpMyAdmin-2.5.1+ZendOptimizer-2.1.0b-FreeBSD4.0-i386+discuz2.0-gb2312详细安装教程 刚接触linux是今年4月的事情,装过不少linux发行版本,最终还是选择了unix中的freebsd,喜欢它的简洁。不过我也是初学者,将这10多天学freebsd的经验总结给大家分享,希望大家能够少走当初我的一...
标签: PHP
  作者:大金刚 电邮:cheng24@163.net 内容:一、 安装APACHE1.3.9(配置conf目录下的httpd.conf文件) 1.#BindAddress * 改为 BindAddress 127.0.0.1     #Servername new.host.name 改为 Servername localhost 2.让你的APACHE来支持PHP4. 加上下面这么几句:      ScriptAlias /php4/ \...
标签: PHP
  Windows 2000+Apache+MySql+PHP3+PHP4+PERL安装使用小结 www。1000script.com 2002-9-3 1000script专业脚本 Windows 2000+Apache+MySql+PHP3+PHP4+PERL安装使用小结(一) 这里一定有许多和我一样喜欢尝试新鲜事物的朋友,尤其是当听说 某某软件有了新的版本时一定也会迫不及待的去下载一份回来用用再说。 这里我想和大家探...
标签: PHP
    我写过的教程不多,而且大部分都是来源于别人的教程,不过,这里所介绍的,都是融入我所总结的经验.--引言 PHP的执行效率是有目共睹的,这也是我喜欢它的原因之一,和它称为绝妙搭档的Mysql以及Apache想融合,不能不惊叹其效率了。PHP更新也很快,这里列举了目前最新版本PHP4.3.2RC4(几乎没有BUG了,估计写完这篇不...

经验教程

588

收藏

92
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部