Just compile oci-8 as a self contained extension, and you don't have to do anything 
with your PHP setup.  Information on how to do this is included in the PHP 
distribution (README.self-contained-extensions).

Jim

>>> "Dan Trottier" <[EMAIL PROTECTED]> 09/28/02 18:08 PM >>>
Hi,

My apologies if this has been answered previously.   I have an install of
RedHat Advanced Server 2.1 that includes Apache 1.3 and php support.  The
configure line as the installation came defaulted to is:

'./configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-curl'
'--with-db3' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-gd' '--with-gdbm' '--with-gettext'
'--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm'
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system'
'--with-ttf' '--with-xml' '--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8'
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos'
'--with-ldap=shared,/usr' '--with-mysql=shared,/usr'
'--with-pgsql=shared,/usr' '--with-unixODBC=shared,/usr'
'--with-apxs=/usr/sbin/apxs'

I've installed Oracle 9i on this system and I want PHP to use the OCI8
extension.  Unfortunately the configure options above have --without-oci8
defined.  I didn't install all the development packages which I now regret.

Documentation indicates I need to recompile php
with --with-oci8=$ORACLE_HOME to get this to work.  If I try to use the same
configure options as above I end up having to extract tons of RPM packages.

Can anyone suggest what a reasonable set of configure options are or
possibly a list of all RedHat RPMS that would need to be installed in order
to configure php with the same options as in the default distribution.

Any help or pointers would be appreciated.

Thanks,

dan




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to