- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PHP+Oracle failure...
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
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
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
03-24-2005 08:18 AM
03-24-2005 08:18 AM
PHP+Oracle failure...
[Thu Mar 24 15:08:28 2005] [notice] SIGHUP received. Attempting to restart
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/oci8.sl in Unknown on line 0
I am running the Oracle 8.0.6.3 client on this system. This appears to be a 32bit only version as there is no lib32 directory. Any help in resolving this would be much appreciated.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2005 11:45 AM
03-25-2005 11:45 AM
Re: PHP+Oracle failure...
This one :
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=543837
deals with your error and suggests setting the SHLIB_PATH .
Is the library in question actually on the system ?
Best regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2005 08:23 AM
03-26-2005 08:23 AM
Re: PHP+Oracle failure...
Reagrds,
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 01:47 AM
03-28-2005 01:47 AM
Re: PHP+Oracle failure...
I am not sure on checking the version of the oci8.sl library as someone else suggested. How do I check the version? What version does it need to be? The Oracle home directory was copied from a different working system so I am not sure as to why this wouldn't work.
Thanks again for the help.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 01:58 AM
03-28-2005 01:58 AM
Re: PHP+Oracle failure...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:17 AM
03-28-2005 02:17 AM
Re: PHP+Oracle failure...
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 03:50 AM
03-28-2005 03:50 AM
Re: PHP+Oracle failure...
And what version of oracle is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 04:24 AM
03-28-2005 04:24 AM
Re: PHP+Oracle failure...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 04:39 AM
03-28-2005 04:39 AM
Re: PHP+Oracle failure...
In the environment variables, do you see there ORACLE_HOME variable set?
Another very important thing is, look at the first box of phpinfo() output: "Configure Command"
It's the compilation command of php, if you see there '--without-oci8', I'm afraid there is nothing you can do with this php you have, and u'll have to recompile it with '--with-oci8' option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 04:56 AM
03-28-2005 04:56 AM
Re: PHP+Oracle failure...
Any thoughts on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 05:14 AM
03-28-2005 05:14 AM
Re: PHP+Oracle failure...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 05:28 PM
03-29-2005 05:28 PM
Re: PHP+Oracle failure...
$ export SHLIB_PATH=$ORACLE_HOME/lib
$ ldd /opt/hpws/apache/php/lib/php/extensions/oci8.sl
This shouldn't return any errors about missing libclntsh.sl library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:52 AM - last edited on 05-26-2024 10:17 PM by Parvez_Admin
03-30-2005 01:52 AM - last edited on 05-26-2024 10:17 PM by Parvez_Admin
Re: PHP+Oracle failure...
I ran the commands suggested to test the Oracle library links and it completed without error.
Here is the phpinfo output too...
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 07:13 AM
03-30-2005 07:13 AM
Re: PHP+Oracle failure...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 07:18 AM
03-30-2005 07:18 AM
Re: PHP+Oracle failure...
I don't think this is the case. I believe that I have seen other threads for this same version that people have gotten working.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 07:24 AM
03-30-2005 07:24 AM
Re: PHP+Oracle failure...
What exactly you did to define it in apache?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 06:06 AM
04-27-2005 06:06 AM
Re: PHP+Oracle failure...
export ORACLE_HOME=/usr/local/oracle/8.0.6.3
#export ORACLE_SID=oradb
export SHLIB_PATH=$ORACLE_HOME/lib:$APACHE_PREFIX/php/lib/php/extensions:$SHLIB_
PATH
I have left the SID blank because the database that I am connecting to actually resides on another server.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 06:38 AM
04-27-2005 06:38 AM
Re: PHP+Oracle failure...
Basically, it had to do with the apachectl script. Unfortunately, I never bothered to actually do an 'apachectl stop' and then an 'apachectl start'. I only ever tested with an 'apachectl restart'. Once I did a full stop and restart everything started working.
Thanks for the help and sorry for the run around.
Scott