- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache/PHP/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
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
тАО03-22-2006 10:52 PM
тАО03-22-2006 10:52 PM
Apache/PHP/Oracle...
1. Editted the apachectl script to include the system specific Oracle parameters for the Oracle libraries etc.
2. Editted the php.ini file to uncomment the oci8.sl extension line.
3. Copied the Oracle client from a known working system.
The error I am receiving is:
Fatal error: Call to undefined function OCILogon()
Please help me figure this out. This is the first time I have run into difficulties trying to configure this. This is also the first time I have tried working with a package that is built with PHP5. My guess is that this is related. Thanks in advance.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2006 11:17 PM
тАО03-22-2006 11:17 PM
Re: Apache/PHP/Oracle...
Oracle ships its own httpd server with the database and the application server that has this working already.
Questions/possible suggestions:
1) Did this work on prior versions of the HPWS suite? if so, steal the configuration from there.
2) Is there an oracle provided httpd server around? If so, another source to steal code and configuratoin.
3) Is PHP 5 certfied to work with oracle by oracle? If not, you may wish to redeploy a version of HPWS with PHP4 or use the oracle provide httpd server for this issue.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2006 11:43 PM
тАО03-22-2006 11:43 PM
Re: Apache/PHP/Oracle...
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Can't find path for shared
library: libclntsh.sl.8.0 in Unknown on line 0
I have confirmed that this library is indeed located in /usr/local/oracle/8.0.6.3/lib, and this is in the PATH setup in the apachectl file. Once again, please help.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2006 12:29 AM
тАО03-23-2006 12:29 AM
Re: Apache/PHP/Oracle...
also have a look at the documentations on how to install and configure these:
http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_linux.html
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2006 01:03 AM
тАО03-23-2006 01:03 AM
Re: Apache/PHP/Oracle...
Make sure that ORACLE_HOME is defined in the environment.
Run:
find . -name "ins*.mk"
Then, for each of the above, cd to that directory and run
make -f ins_[whateverfilename].mk install
repeat for each of the files -
Or go to ORACLE_HOME/bin and run the "relink" command for each module in the ORACLE_HOME. For instance, you'll see that there is a "precomp" subdirectory, and a plsql directory.
So, you would run:
./relink precomp
and then
./relink plsql
Either of the two above methods should get you going.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2006 02:26 AM
тАО03-23-2006 02:26 AM
Re: Apache/PHP/Oracle...
PHP Warning: PHP Startup: zM-jM-pM- zM-keM-2zM-jM-kxzM-j
M-pM-^PzM-keM-:zM-jM-kxzM-jM-pM-^@zM-kfB: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP compiled with module API=20041030, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
I got to this by linking the libclntsh.sl library into a library path I founds from a strings output of the oci8.sl library in the Apache installation. Once again, help?!?!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2006 12:19 AM
тАО03-27-2006 12:19 AM
Re: Apache/PHP/Oracle...
probably your problem is the SHLIB_PATH variable. In the /opt/hpws/apache/bin/envvars file it should be set to
SHLIB_PATH="/opt/hpws/apache/lib:/home/oracle/product/816/lib64:/usr/local/pa20_64/lib:$SHLIB_PATH"
Make sure that the path is included here, where the libclntsh.sl library resides.
Hope this helps
Eberhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2006 02:17 AM
тАО03-27-2006 02:17 AM
Re: Apache/PHP/Oracle...
Thanks for the help. I know that this is not the best way to handle this, but it gets the job done. I have the SHLIB_PATH variable set to include the proper path in the apachectl file that starts Apache, but this did not resolve the issue. I fell back on this to correct this behavior.