php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22770 Make fail after config with oracle
Submitted: 2003-03-18 12:06 UTC Modified: 2003-03-18 20:00 UTC
From: oyo37503 at hotmail dot com Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 4.3.1 OS: Redhat Linux 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oyo37503 at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-03-18 12:06 UTC] oyo37503 at hotmail dot com
I was install oracle 8.1.7 client on /opt/oracle 
and try to config php to support oracle, by use option 
--with-oracle=/opt/oracle 

# ./configure --with-oracle=/opt/oracle --with-apache=../apache.version --enable-track-vars 
# make

after "make" it show error 

/usr/local/src/php-4.3.1/ext/oracle/php_oracle.h:23:20: ocidfn.h: No such file or directory
/usr/local/src/php-4.3.1/ext/oracle/php_oracle.h:24:20: ociapr.h: No such file or directory
In file included from /usr/local/src/php-4.3.1/ext/oracle/oracle.c:40:
/usr/local/src/php-4.3.1/ext/oracle/php_oracle.h:69: parse error before "Lda_Def"

and more ......

how can I fix this problem?

Thank you..
Anan Ananthasri
Thailand.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-18 16:55 UTC] michael dot mauch at gmx dot de
Set your --with-oracle=... to $ORACLE_HOME, which is probably /opt/oracle/product/8.1.7 .

Probably you want to use --with-oci8 instead of --with-oracle. See
http://www.php.net/manual/en/ref.oci8.php for details.
 [2003-03-18 20:00 UTC] sniper@php.net
Wrong path used. Plus you should use --with-oci8 instead.
(ext/oracle is outdated anyway)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC