[PHP-DEV] PHP 4.0 Bug #7230: Configuration fails for Oracle 8.1.6 From: wbastow <email protected>
Date: 10/15/00

From: wbastow <email protected>
Operating system: Redhat 6.2
PHP version: 4.0.3
PHP Bug Type: *Configuration Issues
Bug description: Configuration fails for Oracle 8.1.6

Running ./configure --with-apxs=/u1/app/http/bin/apxs --with-ldap=/usr/local/etc/openldap --with-oci8=/u1/app/oracle/product/8.1.6 --with-sybase=/opt/sybase-11.9.2 --enable-sigchild --disable-with-oracle

get the following at the end of configure run:

checking Oracle version... 7.3
configure: error: Unsupported Oracle version!

I modified configure to work here:

[wbastow <email protected> php-4.0.3pl1]$ diff configure configure.new
24527,24528c24527,24528
< if test -f "$OCI8_DIR/orainst/unix.rgs"; then
< OCI8_VERSION=`grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4`

---
>   if test -f "$OCI8_DIR/install/unix.rgs"; then
>       OCI8_VERSION=`grep 'rdbms' $OCI8_DIR/install/unix.rgs | sed 's/  */:/g' | cut -d: -f 2 | cut -c 1-3`

The unix.rgs file in orainst is empty and the file in the install directory doesn't contain ocommon.

-- Edit Bug report at: http://bugs.php.net/?id=7230&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>