- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPWS Apache with PHP and Oracle
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
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
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
тАО08-08-2005 11:38 AM
тАО08-08-2005 11:38 AM
Re: HPWS Apache with PHP and Oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 05:11 PM
тАО08-08-2005 05:11 PM
Re: HPWS Apache with PHP and Oracle
va.sl exist?
What happens when you try this?
$ export SHLIB_PATH=$ORACLE_HOME/lib32
$ LD_PRELOAD=$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libja
va.sl /opt/hpws/apache/php/bin/php -c /opt/hpws/apache/conf/php.ini -f /opt/hpws
/apache/htdocs/oracle.php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 08:34 PM
тАО08-08-2005 08:34 PM
Re: HPWS Apache with PHP and Oracle
I find it this well you have left at the thing.
You have taken me to the right track.
Row extension=oci8.sl isn't commented any more now in php.ini.
$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libja
va.sl exist.
When i make this LD_PRELOAD=$ORACLE... php -c ...php.ini ...htdocs/oracle.php
then i have new warning of php :" PHP Startup : Unable to load dynamic lbraray '/opt/hpws/apache/php/lib/php/extensions/php_oci8.sl <-- this is wrong, the file php_oci8.sl don`t exist ,
osi8.sl is exist.
File php.ini contains entries ;extension=php_oci8.dll. I have copy the row, unkomment and only change dll in sl. At the first enquiry on ITC, however, I had written the line newly extension=oci8.sl.
The error was still the missing library libclntsh.sl.8.0 here.
The script oracle.php works now.Many Thanks for your help.
A problem still is, if I start php on the commandline. The error message "Can`t open shared library : /CLO/BUILD_ENV/usr/lib/libdld.2".
I only could solve this problem, if I have put a soft link on /usr/lib /CLO/BUILD_ENV/usr/lib .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 09:08 PM
тАО08-08-2005 09:08 PM
Re: HPWS Apache with PHP and Oracle
# chatr +s enable /opt/hpws/apache/php/bin/php
chatr listing on php binary should now show that use of SHLIB_PATH is enabled (it was previously disabled).
Now make sure you have /usr/lib in your SHLIB_PATH and php should work from the command line as well (and you can also remove link to /CLO/BUILD_ENV ...).
Not sure why this problem exists, but hopefully that works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 09:46 PM
тАО08-08-2005 09:46 PM
Re: HPWS Apache with PHP and Oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 09:54 PM
тАО08-08-2005 09:54 PM
Re: HPWS Apache with PHP and Oracle
- « Previous
-
- 1
- 2
- Next »