Bug #10215 Updated: OCI Interface error when compiled statically with Apache
| From: | jmoore@php.net | Date: | Tue, 08 May 2001 23:35:47 +0000 |
| Subject: | Bug #10215 Updated: OCI Interface error when compiled statically with Apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54451@lists.php.net to get a copy of this message | ||
ID: 10215
Updated by: jmoore
Reported By: jclin@rocketmail.com
Old-Status: Feedback
Status: Closed
Bug Type: Oracle related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
No feedback.. closing
Previous Comments:
---------------------------------------------------------------------------
[2001-04-06 14:19:29] 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-04-06 14:01:14] jclin@rocketmail.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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10215&edit=2