Dragoa Posted August 27, 2008 Share Posted August 27, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.