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
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 $make $make install |

评论
发表评论