473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Anyone using HP-UX with Apache, PHP and OCI?

Hi,

I'm searching for someone who's using HP-UX 11.x with Apache and PHP
with the OCI8 extension (for accessing Oracle).

I'm having some issues while running this and would like to exchange
some information.

my environment is:

HP-UX 11.11
Apache/2.0.49 from the hpuxwsApache package
PHP 4.3.4 as included in that package
OCI8 as included in that package

(I also tried Apache 2.0.52 with PHP 4.3.8 but that didn't make a
difference)
when I'm enabling OCI8, Apache works fine, but the commandline PHP fails
(and I need that as I have background processes, generating some
reports). The error is:

PHP Warning: Unknown(): Unable to load dynamic library
'/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Can't find path for
shared library: libclntsh.sl.8.0 in Unknown on line 0

after finding http://bugs.php.net/bug.php?id=13151 I managed to solve
this by setting:
export LD_PRELOAD=$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl

and now also PHP from the commandline works fine as well. but I've no
clue if this is a good solution or there's a better way.
but now I'm running into an issue with LDAP: ldap_bind() fails from a
PHP script run from the commandline, while exactly the same code works
perfectly fine through Apache - and it also works fine from the
commandline when removing the LD_PRELOAD setting - but that removes the
OCI8 functionality again...

so I'm feeling stuck having the choice between LDAP and OCI8 - but my
scripts uses both...
(FUP to comp.sys.hp.hpux)

Regards
Stefan
Jul 17 '05 #1
0 2031

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rbt | last post by:
Hello there, Depending on the firmware version of the HP printer and the model type, one will encounter a myriad of combinations of the following strings while reading the index page: hp HP...
4
by: zzfreddybb | last post by:
We are using HP aCC compiler on a HP Itanium box ( 11.23) We are having some severe performance hits using exception handling ( try/catch ) scenarios. The online aCC documentation says: HP...
4
by: Le | last post by:
Our HP representatives are telling us that backing/restoring our MS SQL Servers with "HP Data Protector (HPDP)" is better and safer than using MS Sql's backup/restore process. I have strong...
0
by: Kumar | last post by:
Hi Folks, I would like to develop one custom application using asp.net,C#,SQL server for tracking all our company servers. Most of the functionality is similar to HP Systems Insight Manager ...
0
by: c#2006user | last post by:
Hi all Im converting code from vb.net to c# an im stuck again! :O) anyway ive included both vb and c# versions and if anyone could see where im going wrong it would much appreaciated. i've tried...
13
by: Snis Pilbor | last post by:
Hello, Here is an idea I've been toying with to speed up programs but still keep them portable. It's just a very handwavey rough description right now since I haven't worked out details. The...
2
by: Vlad Dogaru | last post by:
Hello, I am trying to write a simple program to teach myself sockets. The following bit of code fails with: "connect: Socket operation on non-socket". What am I missing? #include <stdio.h>...
0
by: bishnu12 | last post by:
Hi all, There are two questions 1. I am trying to write a programme which can query to a modem get the modem details. i am using normal send() and recv() functions. But when i try to fetch a...
11
by: itgetsharder | last post by:
can anyone help me? code errors! -------------------------------------------------------------------------------- im creating a code for a printer. the question i am trying to answer is : ...
1
by: blessonin | last post by:
hi all, i want to know how to read the content of a http posted file using stream reader i am using the folloing line but an error in the last line sayin that " 'System.IO.Stream' cannot be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.