473,624 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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=$ORA CLE_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.hpu x)

Regards
Stefan
Jul 17 '05 #1
0 2044

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

Similar topics

0
2092
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 color Color
4
3129
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 aC++ exception handling has no significant performance impact at compile-time or run-time. We have not found this to be the case at all.
4
10959
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 hesitations, because MS Sql's processes gives us a great deal of flexability. Has anyone have any experience wsith "HP Data Protector (HPDP)"?
0
2144
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 (http://h18013.www1.hp.com/products/servers/management/hpsim/) I would like to store as much information as we can about server.
0
1091
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 to simplify the code as much as i can. here is the vb first. this displayHomePage() is first called from the new sub in frmShell.vb class
13
2243
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 program would contain lots of little utility functions which do small amounts of work. None of these would actually be run. Rather, they would be typecast as strings and those strings would be examined by the program. In otherwords, the...
2
1437
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> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h>
0
2017
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 file from the modem. It shows me... Error:400 Bad request. 2. The modem requires a username and password to get inside it. How can i set the username and password into it?
11
1494
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 : MyPrinter needs some printing methods. The first, signature: public boolean printOne(String text) {} should take a String as a parameter, and output it on a single line to the terminal window. It should also increment (add 1 to) the total number...
1
7773
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 converted to 'System.IO.StreamReader'." Dim str As StreamReader Dim hp As HttpPostedFile hp = FileUpload1.PostedFile str = hp.InputStream pls help me
0
8242
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8629
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7170
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.