linux에서 ORACLE을 php와 세팅할때의 자료
# Oracle ENV DEFINE
export USERNAME BASH_ENV PATH
export ORACLE_OWNER=oracle;export ORACLE_OWNER
export ORACLE_BASE=/home/oracle/oracle
export ORACLE_HOME=/home/oracle/oracle/8i
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib/stubs
export ORACLE_SID=ORCL
export ORACLE_TERM=vt100
export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601
export TNS_ADMIN=$ORACLE_HOME/network/admin
#!/bin/sh
./configure
--with-apache=../apache_1.3.26
--enable-wddx
--with-openssl=/usr/local/ssl
--enable-sysvsem
--enable-sysvshm
--enable-wddx
--enable-versioning
--enable-sockets
--with-png-dir=/usr/local
--with-jpeg-dir=/usr/local
--enable-mailparse
--enable-mbstring
--enable-mbregex
--enable-ftp
--with-gd
--with-zlib-dir=/usr/local
--with-mysql=/usr/local/mysql
--with-oci8=/dbdata/oracle/8i
--with-oracle=/dbdata/oracle/8i
--with-ldap=/usr
--with-config-file-path=/home/httpd/conf
--with-ldap
--enable-ctype
--enable-gettext
--enable-calendar
--enable-roxen-zts
--with-imap=/usr
--enable-aggregate
--with-mcrypt=/usr/local
--with-openssl=/usr/local/ssl
--with-config-file-path=/home/httpd/conf
--with-mod_charset
--enable-pic
--with-cpdflib
--enable-track-vars
echo "[ Compile PHP Type make ]"
#!/bin/sh
./configure --prefix=/home/httpd
--activate-module=src/modules/php4/libphp4.a
--enable-module=php4
--enable-module=headers
--enable-module=rewrite
--enable-module=so