Jump to content

Recommended Posts

Hi, I'm trying to install Apache 2 and PHP 5.2.6 onto an HP-UX11 box, I've gotten both Apache and PHP running fairly smoothly, but when I try to build with oci8, the configure, make, make install works just fine, but it generates an oci8.a file instead of a oci8.so file, and when I try to include it, it gives me the following message:

 

PHP Warning: PHP startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/oci8.a' - Bad magic number for shared library: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/oci8.a

 

A quick search has said this is giving me the wrong file type or something to that extent, but I'm a bit confused by this, since I'm using, to the best of my knowledge, the exact same configuration as I did on a it's sister box, which functioned just fine.

 

PHP configure line is as follows:

 

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=shared,instantclient,/ora01/app/oracle/product/instant_client_10202

 

Apache configure is as follows:

 

./configure --enable-so

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.