php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10215 OCI Interface error when compiled statically with Apache
Submitted: 2001-04-06 14:01 UTC Modified: 2006-07-17 08:11 UTC
From: jclin at rocketmail dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
27 + 11 = ?
Subscribe to this entry?

 
 [2001-04-06 14:01 UTC] jclin at rocketmail dot com
If I were to compile the OCI interface with Apache statically and call OCILogin(), php returns:

Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /usr/local/webmail/htdocs/oracle.php on line 9
Database connection (SID=b888) failed 

I have double check tnsnames.ora and it appears to be fine. I even test it using Oracle's manager to check it and us php binary command, it works fine. PHP and Oracle works fine if I were to compile the OCI with PHP as a binary not if I were to compile it with Apache statically.

I am using Apache 1.3.14. that is wierd. Can you give any suggestion ASAP. Appearantly there is a bug in php. By the way Apache somehow generates core dump.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-06 14:19 UTC] sniper@php.net
Check the manual page at http://www.php.net/oci8
as there are some environment variables you should
set before starting apache. And also check that your apache
is linked with phthread. ( ldd httpd )

--Jani

 [2001-05-08 19:35 UTC] jmoore@php.net
No feedback.. closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 10:01:28 2024 UTC