Looking for help on the above configuration. Especially Oracle 9.2.0.1 information!
Moving from: PHP-4.0.6 w/ Apache 1.3.12 & Oracle 8.1.6
Here is my instructions from then:
Installing Apache 1.3.12 with PHP-4.0.6 on RedHat Linux 6.2 w/Oracle 8.1.6
1. Download 2 files to /tmp
apache-1.3.12.tar.gz http://www.apache.org/dist/httpd
php-4.0.6.tar.gz http://www.netlynx.com/pub/unix
2. gunzip <apache-1.3.12.tar.gz | tar xvf -
3. cd apache_1.3.12
4. ./configure --prefix=/usr/local/apache \
--enable-module=so \
--enable-shared=max
5. cd /usr/local/apache/bin
6. ./apachectl start
7. ./apachectl stop
8. Change httpd.conf to include
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
9. cd /tmp
10. gunzip <php-4.0.6.tar.gz | tar xvf -
11. ./configure --with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--with-config-file-path=/usr/local/apache \
--with-oci8=/ora8/m01/app/oracle/product/8.1.6 \
--with-oracle=/ora8/m01/app/oracle/product/8.1.6
(I omitted --enable-sigchild from the documentation I was using
http://www.phpbuilder.com/columns/yenigul20020122.php3)
12. cd /usr/local/apache/bin
13. ./apachectl start
14. If your webserver doesn't start or crashes at startup: Check that Apache is linked with the pthread library:
ldd /www/apache/bin/httpd libpthread.so.0 => /lib/libpthread.so.0 (0x4001c000) libm.so.6 => /lib/libm.so.6 (0x4002f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004c000) libdl.so.2 => /lib/libdl.so.2 (0x4007a000) libc.so.6 => /lib/libc.so.6 (0x4007e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
If the libpthread is not listed you have to reinstall Apache:
cd /usr/src/apache_1.3.xx# make clean# LIBS=-lpthread ./config.status# make# make install
- If still having problems change root and nsadmin (.bash_profile) to include the following:
export ORACLE_BASE=/ora8/m01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/8.1.6
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export ORACLE_SID=ora8
export ORACLE_TERM=vt100
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export JAVA_HOME=/usr/local/j2sdk1.4.0
export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0