Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Stefan Blobner
July 5, 2005, 6:32 am
rate this thread
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
my environment is:
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
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:
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)
- » Call to undefined Call to undefined function: imagettftext()
- — Previous thread in » PHP Scripting Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum