php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4561 Install with APXS support abort
Submitted: 2000-05-23 12:14 UTC Modified: 2006-07-17 08:43 UTC
From: spinto at mobileway dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.0 Release Candidate 2 OS: LINUX Redhat 6.1
Private report: No CVE-ID: None
 [2000-05-23 12:14 UTC] spinto at mobileway dot com
I have followed all the steps to install APACHE1.3.12/PHP4 Release2 modules version on Linux (Redhat 6.1). My purpose is to access an ORACLE 8.1.5 database from a web server.
I get a successfull result when I build PHP with APXS support.My option are as follow :
./configure --prefix=/home/php/Packages/php-4.ORC2 --with-apxs=/home/apache/Packages/apache_1.3.12/bin/apxs --enable-tracks-vars --enable-debug --enable-trans-sid --with-oci8 --with-xml --quiet

Then I try to install PHP and get an error message when I try to install PHP with APXS support : "
"...

Making all in oci8
gcc -DHAVE_CONFIG_H -I. -I/home/php/Packages/php-4.0RC2/ext/oci8 -I/home/php/Pac
kages/php-4.0RC2 -I/home/apache/Packages/apache_1.3.12/include -I/home/php/Packa
ges/php-4.0RC2/Zend -I/home/php/Packages/php-4.0RC2 -I/home/php/Packages/php-4.0
RC2/ext/mysql/libmysql -I/home/oracle/network/public -I/home/oracle/plsql/public
 -I/home/php/Packages/php-4.0RC2/ext/xml/expat/xmltok -I/home/php/Packages/php-4
.0RC2/ext/xml/expat/xmlparse -I/home/php/Packages/php-4.ORC2/ext/xml/expat/ -DXM
L_BYTE_ORDER=12 -g -O2 -Wall -c oci8.c  -fPIC -DPIC -o oci8.lo
In file included from oci8.c:58:
php_oci8.h:56: oci.h: No such file or directory

..."

When I check on my disk, no oci.h library is available...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-15 08:02 UTC] rasmus at cvs dot php dot net
You need to do a full Oracle8 install.  Just choosing the developer
option or anything less than a full enterprise install doesn't
look like it installs all the right files.

Then set your ORACLE_HOME env variable and use --with-oci8 and it
builds nicely.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC