Apache&php&oracle_memo

Install apache2 & php4.3.8 on RH9

http://dan.drydog.com/apache2php.html

Apache:

$./configure --prefix=/usr/local/apache
 --enable-so 
 --enable-cgi 
 --enable-info 
 --enable-rewrite 
 --enable-speling 
 --enable-usertrack 
 --enable-deflate
 --enable-ssl 
 --enable-mime-magic
 --enable-charset-lite

$make

$make install

#I add a prefix --enable-charset-lite for a test

--enable-charset-lite
Enable character set translation provided by mod_charset_lite. This module will be installed by default only on EBCDIC systems. On other systems, you have to enable it.

Pf.:http://httpd.apache.org/docs-2.0/programs/configure.html#installationdirectories

I have no idea if it will work or not.

PHP(with oci8 & oracle & DOMXML):
(我们的xmlreader类和parseName函数需要DOMXML
另据说oci的方法比ora的方法要好,必要时可以查实.
此外,下面两个参数的值应当是oracle的目录所在
--with-oci8=$ORACLE_HOME
--with-oracle=$ORACLE_HOME
)

$./configure 	--with-apxs2=/usr/local/apache/bin/apxs 	--with-mysql 	--prefix=/usr/local/apache/php 	--with-config-file-path=/usr/local/apache/php 	--enable-force-cgi-redirect 	--disable-cgi 	--with-zlib 	--with-gettext 	--with-gdbm   
--with-oci8=/opt/oracle/product/9i2
--with-oracle=/opt/oracle/product/9i2
--with-dom
$make
$make install

评论(2)

评论

  1. 趋势是发展成工作笔记,我也会慢慢开始写作文贴,哈哈,荼毒大家的眼睛……好累~~~~~开课了
  2. 冤枉阿,这么多花,总要有点草作陪衬的嘛~ 所以偶就时常送点草过来阿,一来适当清理脂粉气,二来好歹也是学习资料,开拓视野,也不错啊

发表评论

*必填

*必填 (不会被公开)