- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PHP 5 and Oracle 9i on HP UX 11.11 configuration p...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 12:26 AM
тАО04-15-2005 12:26 AM
PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
Now we are having problem in compiling PHP 5 with --with-oci8=$ORACLE_HOME option.
make is exiting with error the below error
***********************
/usr/ccs/bin/ld: /pp/ora920/product/9.2.0/lib/libclntsh.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
*** Error exit code 1
Stop.
************************
After searching on the net, we have tried changing the env setting as below, to point oracle 32 bit client libs. But did not work
-----------------------------
SHLIB_PATH=/pp/ora920/product/9.2.0/lib32:
and
LDFLAGS=-L/pp/ora920/product/9.2.0/lib32
------------------------------
Any suggestions or work around would be of great help..
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 12:57 AM
тАО04-15-2005 12:57 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 01:41 AM
тАО04-15-2005 01:41 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
I had the same problem. Somehow the Makefile contains reference tot the 64-bit lib-directory instead of the 32 bit lib-directory.
I haven't found the cause of this problem so I resorted to change the Makefile.
cp Makefile Makefile.org
sed "s#/pp/ora920/product/9.2.0/lib#/pp/ora920/product/9.2.0/lib32#g" Makefile.org Makefile
then run make.
regards,
Bart
ps. are you using apache1.x or 2? I couldn't get php5 compiled as DSO for apache2 so I used apache1.x with PHP as static module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2005 02:13 AM
тАО04-15-2005 02:13 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
Other choice would be to modify configure file and all relevant lines as follows
ORACLE_DIR/lib -> ORACLE_DIR/lib32
OCI_DIR/lib -> OCI_DIR/lib32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 12:36 AM
тАО04-18-2005 12:36 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
Changing OCI8_DIR --> ORACLE_HOME/lib32 in configure file worked.
There was no error when 'make' was executed and libphp5.so is created.
But apache does not start, we have "Unresolved external" error when apache tries to load libphp5.so module.
Would appreciate any help!
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 12:39 AM
тАО04-18-2005 12:39 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
http://httpd.apache.org/docs/env.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 11:57 AM
тАО04-18-2005 11:57 AM
Re: PHP 5 and Oracle 9i on HP UX 11.11 configuration problem..
You are starting httpd with apachectl, right? If not, make sure SHLIB_PATH contains
Otherwise do 'ldd -v' and 'ldd -r' on libphp5.so and check the output.