Oracle 8, PHP3, Apache 1.3.6 on RH 6.0 Linux

I've successfully installed PHP3 (mod_php3-3.0.8-1) on Redhat
6.0 w/Apache (1.3.6) . But when I try to use it with Oracle, I
get an error saying ORA_* functions are unsupported. When I
tried installing the tarball, I ran into problems compiling
Apache!!! I compiled PHP3 --with-oracle=/home/oracle option & it
went fine.
PHP3 works fine by itself but does not talk to Oracle. Am I
missing something here? My guess is the Oracle functions are not
getting loaded by Apache. Any feedback is appreciated. Thanks.
-Raj
Fatal error: Call to unsupported or undefined function ora_logon
() in /home/httpd/html/oracle.php3 on line 12
null

I got the same prob with 8i when compliling php 3.0.16.
I got the php complie to finish by executing the following commands:
cd $ORACLE_HOME/lib
ln -s libclntsh.so.8.0 libclntsh.so
I've haven't tested if php/oracle works now as I just got php to compile less than 2 minutes ago.
For those that don't know this makes a symbolic link so that libclntsh.so points to libclntsh.so.8.0
Also, I think, the .8.0 in libclntsh.so.8.0 I think is for versioning shared libs. The default version has nothing after the .so but if an app need s specive version it can find it and php tries to compile witht the default lib version.
If someone wants to confirm/correct me please do as I don't claim to fully understand this stuff ... yet :-)

Similar Messages

  • DB Connection Problem: Redhat 4.1-Oracle 10.2-Apache 2.0.54-PHP 5.0.4

    Hi I have all the above running on a single Redhat server
    Apache starts fine
    PHP config page shows fine on Apache with OCI module loaded
    sqlplus scott/tiger@tnsentry> connects fine
    sqlplus scott/tiger@//<ip>/<service> connects fine
    ... but PHP will just not connect to the db
    I've tried
    oci_connect("scott","tiger","<service>")
    OCILogin("scott","tiger","<service>")
    OCILogin("scott","tiger","//<ip>:<port>/<service>")
    OCILogin("scott","tiger","(CONNECTION=(....))")
    and all I can ever get are ORA-12154 and ORA-12514 errors
    eg the following line....
    if ($c=OCILogon("scott","tiger", "//<ip>:<port>/<service>")) { echo "Successfully connected to Oracle.\n"; oci_close($c); } else { echo "Oracle Connect Error "; print_r(oci_error()); }
    gives me....
    Oracle Connect Error Array ( => 12514 [message] => Error while trying to retrieve text for error ORA-12514 [offset] => 0 [sqltext] => )
    I've set ORACLE_HOME and ORACLE_SID prior to starting apache
    I've tried putenv("ORACLE_HOME=<oracle home path>") in PHP prior to OCILogon
    but nothing seems to work and I'm tearing my hair out
    One thing to note is that "root" owns apache and "oracle"owns the oracle software so not sure whether this might be a problem and whether it's recommended not to do this?
    If anyone can help me with this I would really be grateful - thanks very much in advance!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi there MartynC
    Just wanted to let you know that I screwed up - as usual, the simplest of errors.... I created a script around apachectl to start apache and prior to the apachectl start line I inserted
    ORACLE_HOME=<my oracle home>; export ORACLE_HOME
    ...only I mistyped <my oracle home> so apache wasn't finding it
    I've corrected that, restarted Apache and now PHP, Apache and Oracle are working fine!
    Thanks very much for your offer of help (the only consolation I can take is that possibly this will someone reading this will take note and double check the dumb stuff and save themselves a lot of time and heartache)
    Also I should note for anyone interested that my Linux installation is actually Centos 4.1 (a Redhat "clone")

  • OracleOraHome92Agent - OIA & Oracle HTTP Server - Apache JServ Cant Startup

    Recently i have 2 oracle 9i database server {A} & , and my task is to migrate all the data from {A} To {B}.
    I used [Orcale Management Server - OMS] to login for connect both server for data manipulation. However, when i used [Discover Nodes] in the [Oracle Enterprise Manager Console], the [A] cant find.
    I found that [OracleOraHome92Agent - OIA] in Windows [Services] is not Started even i manually start it. I found 1 web site told about [How does one start the Oracle Intelligent Agent?] in URL [http://www.orafaq.com/faqoem.htm#IA-START].
    I have follow the steps and also cant get it started succeefully.
    Besides that, i also found that [Oracle HTTP Server - Apache JServ] is not successful start up also. Error Msg is written below:
    "Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf: FastCgiServer: redefinition of a previously defined FastCGI server "c:/oracle/ora92/bin/isqlplus"
    Note the errors or messages above, and press the <ESC> key to exit.
    It is the [HTTP Server] cant start up affected the [Oracle Intelligent Agent]?
    Thanks fro reading my messages. Hope u can help me.

    OEM agent should be independent of any other components, considering its function.
    What is the error message when you try to start the OracleAgent service?
    Did you try following steps from FAQ as well?
    "If the agent doesn't want to start, ensure your environment variables are set correctly and delete the following files before trying again:
    1) In $ORACLE_HOME/network/admin: snmp_ro.ora and snmp_rw.ora.
    2) Also delete ALL files in $ORACLE_HOME/network/agent/."

  • Can ASP be supported by oracle http server(apache)?

    anyone knows if ASP can be supported by oracle http server(apache)?

    The Oracle9iAS Migration Kit for ASP release 1.2 is availble on OTN from http://otn.oracle.com/tech/migration/asp/content.html. From the main page there is a feature overview and white paper that explain the solution and product road map.
    The latest release is now production and has the following new features:
    - Support for Oracle9iAS Release 2
    - Support for Linux as well as Solaris and Windows
    - Integration of migrated ASP applications with JSP and J2EE
    - Clustering migrated ASP applications
    - Internationalization improvements
    - Simplified deployment (EAR File production)
    - Simplified installation
    - Enhanced documentation
    Regards,
    Blair.

  • Migrate Oracle Apps 11.5.10.2 from Sun solaris to RHE Linux 32 bit.

    We are migrating the Oracle Apps 11.5.10.2 from Solaris two node to Linux two node including the database Oracle 10.2.04 64 bit.
    Since the applications only support 32 bit we are not able to store CM tier in a 64 bit Linux so with this considerations we are going with the below plan.
    1. Install RHEL 5 as a 32 bit for two nodes ( One for DB/CM and FORMS/WEB)
    2. Migrate the applications and DB from Solaris to Linux as the same node configuration that is
    Node A:
    Oracle DB 10.2.0.4 64 bit ( SUN oS 10 64bit) -> Oracle 10.2.0.5 32bit (RHEL 5 32 bit)
    Oracle Apps CM 11.5.10.2 (SUN OS 10 64bit) -> Oracle apps CM 32 bit(RHEL 5 32 bit)
    Node B:
    Oracle apps 11.5.10.2 forms (sun OS 10) -> Oracle apps 11.5.10.2 forms ( RHEL 5 32bit)
    Oracle apps WEB 11.5.10.2 (SUN OS 10) -> Oracle apps WEB 11.5.10.2 ( RHEL 5 32 bit).
    Question : 1. Did you see any snag on this kind of migration
    2. Any documentation to migrate the Oracle APPS 11i 10.2.0.4-64 bit database from Sun Solaris to oracle apps 11i 10.2.0.5-32 bit on Linux

    Hi,
    1. Did you see any snag on this kind of migrationWhy would you downgrade the db from 64 bit to 32 bit. As 32 Bit has lot of memory limitations.
    You could keep the database on 64 bit for linux too.
    2. Any documentation to migrate the Oracle APPS 11i 10.2.0.4-64 bit database from Sun Solaris to oracle apps 11i 10.2.0.5-32 bit on Linux Please see
    Note 238276.1 - Migrating to Linux with Oracle Applications Release 11i
    Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 2 [ID 369693.1]
    10g Export/Import Process for Oracle Applications Release 11i [ID 331221.1]
    10g Release 2 Export/Import Process for Oracle Applications Release 11i [ID 362205.1]
    Notice to Oracle E-Business Suite Customers: Correction to Export/Import Notes [ID 1055539.1]
    EBS 11i Export/Import Fails On Admsc1020.sql Due To Missing Catmgdidcode.sql [ID 804665.1]
    Thanks
    Edited by: EBSDBA on Oct 25, 2011 5:30 PM

  • Migration from Oracle 10.2.0.3 (Solaris) to 11.2.0.3 (Linux)

    I have to migrate and upgrade database from Oracle 10.2.0.3 (Solaris) to 11.2.0.3 (Linux). I know I can use datapump and TTS to migrate data. My steps would be Install oracle 11.2.0.3 binaries on Linux box and create the database with same name on Solaris box and imp the data. My question is If I import the data from 10.2 DB, Will I face any issue or any problem besides invalid objects ?????? Or can you give brief steps.???? Any help will be appreciated ..
    Thanks

    LaserSoft wrote:
    Hi Friend
    Five Methods..
    1) Database Upgrade Assistant (DBUA)
    2) Manual UpgradeDBUA and manual upgrade scripts can only be used when there is no platform change. If a platform change is included, the data will have to be moved across OS versions using one of the 3 methods below.
    3) Export/Import
    4) Data Copying
    5) Golden Gate
    Note 1 : Export/Import works for all versions. But for 10g and above, DataPump or Transportable Table Spaces methods are better.
    Note 2 : you may need to perform additional pre-upgrade steps (adjust the parameter file for the upgrade, remove obsolete initialization parameters and adjust initialization parameters that might cause upgrade problems).
    Thanks
    LaserSoftHTH
    Srini

  • How to Edit Word Document in Oracle ADF Application - Apache POI

    Hi All
    I was wondering if there is a way to edit and save word documents in Oracle ADF without loosing the Formatting.
    I was able to edit and save the word document however the Formatting was lost.
    Please let me know if there are any pointers or open source Java APIs that we can use to achieve this.

    Refer the Text Formatting section
    Apache POI - HWPF - Java API to Handle Microsoft Word Files
    HWPF Reads in a Word document with minimum formatting (no lists, tables, footnotes, endnotes, headers, footers)
    Apache POI - HWPF - Java API to Handle Microsoft Word Files
    The _cbt field in class HWPFDocumentCore contains formatting information.
    HWPFDocumentCore (POI API Documentation)
    For more advanced text extraction needs, including Rich Text extraction (such as formatting and styling), along with XML and HTML output, Apache POI works closely with Apache Tika to deliver POI-powered Tika Parsers for all the project supported file formats.
    Apache POI - Text Extraction
    Use Apache Tikka for formatting.
    Apache Tika - Supported Document Formats

  • Can I change from Embedded PL/SQL Gateway to Oracle HTTP Server/Apache?

    Hi everyone
    Can I change a running installation of Oracle 10.2.0 Application Express 3.2.1.00.10 to move away from the Embedded PL/SQL Gateway on to the Oracle HTTP Apache server? I'd like the change to be as transparent as possible to avoid an outage if I can. Do I need to reinstall everything and just import a backup or is there a way to switch between the http servers? I couldn't find anything on "switching" in the User's guide, so I was hoping one of you may have successfully tried this.
    Many thanks for your help!
    m.

    It should be straight forward with a very small downtime. Test on dev system before interrupting the prod system.
    1. Install OHS
    2. Configure OHS
    3. Configure the mod_plsql plugin
    4. Stop the Embedded PL/SQL Gateway
    Let the users know about the new URL.
    All the above steps are documented in the docs.
    -Andy

  • Re: execution problem with oracle jsp under apache

    i followed the instruction to install oracle jsp running on apache 1.3.9 and apacheJServ/1.1b3 under win nt 4.0 with sp5. i created a servlet zone to hold the jsp file but for some reason it will not look the the dir specified in the jserv.conf. it look at the dir under apache document root dir.. therefore, i created a dir under the apache root dir and then it was able to compile the hellouser.jsp correctly. when i run lotto.jsp, the image files would not display. why?

    Apache Servlet zones allow you separate servlet (sets) into distinct classloaders. The OJSP servlet needs to exist in a servlet zone. However the content the OJSP servlet operates on (the .jsp file) lives in the document root directory just like your other web content. OJSP does support a configuration/init parameter whereby you can explicitly specify a physical directory other than what is mapped via the Apache settings. Please consult the documentation if you want to do this.
    As for why the lottery images aren't being displayed, more information is needed. The generated page should create local references to the images files. Are the images in where they are expected to be? Can you be more explicit about the URI you send and the physical structure of the Lottery sample in the file system?

  • Installing Oracle JDBC to Apache

    I am attempting to install the oracle jdbc to my Apache server. I put the zip files into my PATH and reboot the box. When I try to open a JDBC connection in JSP I get the following error.
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    It looks like it can't see the zip file classes. Does anyone have exact instructions on how to install the jdbc drivers?

    I am attempting to install the oracle jdbc to my
    Apache server. I put the zip files into my PATH and
    reboot the box. When I try to open a JDBC connection
    in JSP I get the following error.
    java.lang.ClassNotFoundException:
    oracle.jdbc.driver.OracleDriver
    It looks like it can't see the zip file classes. Does
    anyone have exact instructions on how to install the
    jdbc drivers?I am pretty sure that 'Apache' doesn't do JSP.
    However, jakarta-tomcat does. And to get that to work you have to put the jar file into the correct directory. It is not possible to set the class path for this. In addition it must be a jar file. Which if you are using the Oracle zip file means you must rename it.

  • Apex Installation On Oracle App Server Apache

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

    Installation using an existing Apache server like on the Oracle Apps Server can be done as a replacement for the Apache that is installed with Apex but may require the installation of mod_plsql into Apache.
    If you need to do this, use the documentation for the Oracle Apps Server for installing mod_plsql. The Apex documentation assumes that mod_plsql is installed and is missing steps for a complete installation.
    Installing on one web server is advantageous for applications that are integrated with Oracle App Server applications like the SOA Suite.

  • Oracle 9i Lite to Oracle 8i master, & Apache on HP

    1. Are there any replication issues or limitations when using 9i lite clients against an 8.1.7 master?
    2. In the system requirements, it lists having Apache for NT or OAS9i as requirements. Are these set in stone, or supported versions? We run Apache on HP UNIX. Is that an issue?
    For both, the app being designed is a PC laptop JAVA solution using JDBC to the local 9i lite client replicating asynchonously to an 8.1.7 master.
    Thanks,
    Tom

    1. Are there any replication issues or limitations when using 9i lite clients against an 8.1.7 master?
    2. In the system requirements, it lists having Apache for NT or OAS9i as requirements. Are these set in stone, or supported versions? We run Apache on HP UNIX. Is that an issue?
    For both, the app being designed is a PC laptop JAVA solution using JDBC to the local 9i lite client replicating asynchonously to an 8.1.7 master.
    Thanks,
    Tom 1) Make sure your jdk is at 1.3 on the mobile server if using Oracle mid-tier. Otherwise no show-stoppers.
    2) 9i Lite Mobile Server will run using Apache but has 'issues' in doing so. We have had success installing Mobile Server (Apache wrapped in Oracle) in standalone configuration (no plug-ins and no configuration required).
    3) PC -> java (jdbc) -> 9i Lite client SYNC'd to 8.1.7 has worked for me on many occasions.
    RP.

  • Oracle Servlet Engine/Apache

    Hi,
    I am trying to jsp published in oracle throught Apache.
    In my tnsnames.ora configuration is like
    inst1_http = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=alex)(PORT=7988))
    (CONNECT_DATA= (SERVICE_NAME=myserver)
    (SERVER=shared)
    (PRESENTATION=http://testservice) ) )
    I have specified service_name as webserver name given in httpd.conf (ServerName=myserver) of Apache.
    Presentation is given as webservice created under the service folder in sess_sh environment.
    When I try to connect through the browser by giving port 7777 which is listener at Apache the httpd_error_log gives
    Connection to [(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=alex)(PORT=7988))(CONNECT_DATA=(SERVER=SHARED)(SERVICE_NAME=myserver)(PRESENTATION=http://testservice)))] failed
    Also when I type http://alex:7777 it gives
    Service Temporarily Unavailable.
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Is anything wrong in the Service_Name ? What it should be ? I have included
    AuroraService inst1_http in mod__ose.conf file.
    Regards,
    Chetan

    you can skip ose (a truely dredful product), and use orion
    directly from Ironflare...$1500 per server, and cheaper than OC4J.
    www.orionserver.com
    regards,
    the elephantwalker
    www.elephantwalker.com

  • Can We Install Oracle 9i without Apache ? How ?

    Hi,
    We have already Web Logic Web Server and Application Server in out Server, and when i try to install Oracle 9i, it always forces us to install Apache Web Server ? Cen we install Oracle Without Apache ? If so How to do it ?
    Urjent,
    Pillai.

    hi
    a foot note of the table 6 in SRSP for obiee 10.1.3.4 on page 17 reads
    obiee
    "1. Windows and Linux 64-bit support: For the Windows and Linux releases, the Oracle BI EE software is 32-bit. The
    software can run on 64-bit processors that support 32-bit emulation. The supported processors are AMD64 and EM64T.
    NOTE: Revisions A and B of this guide incorrectly listed Itanium2 as a supported processor"
    processor should support em64t & also enabled at bios level w/ compatible firmware.
    dac
    table 2 in srsp for dac 10.1.3.4 lists windows x64 as compatible
    odbc32-bit vs odbc64-bit
    note on page 72 from Oracle Business Intelligence Infrastructure Installation and Configuration Guide Version 10.1.3.2.1 reads:
    For Windows 64-bit operating systems, the Oracle BI Server ODBC driver is a 32-bit
    application. Use the 32-bit version of ODBC Data Source Administrator located at
    C:\Windows\SysWOW64\odbcad32.exe.
    The 64-bit version of the ODBC Data Source Administrator (located at
    C:\Windows\system32\odbcad32.exe) does not show the Oracle BI ODBC driver.hth
    PS: It is always a good practice to go through manuals

  • Oracle HTTP Server/Apache in a shared environment?

    Our server group wants to consolidate our HTTP servers into their Apache servers...
    i.e. to run multiple Apache servers on a single box and each Apache server runs on a different port.
    Does anyone forsee problems with running our Oracle HTTP/Apache in a shared environment?

    This should be easily accomplished by creating new locations (using the <Location /directory> directive) in your Apache configuration. This would result in some /directory that each app would live under. If you do this they can all share the same port. Port 80 presumably.
    It's a different story if you want them all to use the root. If all the various web applications want to use the root directory then you need to use different ports for each application and create VirtualHost entries for each port that you want Apache to listen on.
    Either way, you should be able to host all the standard (non-Oracle) Apache stuff on an Oracle HTTP server. The non-Oracle apps simply wouldn't use any of the Oracle modules.
    Earl

Maybe you are looking for

  • Losing Screen Tips in conversion from ppt to Presenter

    I have numerous hyperlinks in my uploaded ppt presentation, each with a Screen Tip. Unfortunately, none of these are being carried over in the translation to Presenter7. Can anyone help? thanks Grayley

  • Error in WP Trace files

    Hi, We are getting the below error in our work process trace files for our SCM 5.1 system Tue Dec 30 17:35:51 2008   ***LOG Q0I=> NiPGetHostByName: hostname 'OPTSERVER' not found: gethostbyname [niuxi.c 1470] At same time, we have system log entries

  • Cross Platform Swap/upgrade CS5

    I have had the Windows version of Photoshop CS5 for about 3 years. Tomorrow I am getting my first Mac (woo!).  I was just told via an auto-reply email from Adobe that my case was closed because I have to upgrade to CS6 first (on my almost retired PC?

  • I can,t get to my email account.I have in the past, but now I can not.

    When I first downloaded Firefox, I thought it was great, fassssst.It still is. But now I can not get into my Gmail account, I could at ,first but not now. Whats up with this?

  • I cannot read NEF files ( NIKON D810) with lightroom 5 ( 5.5 version) for mac .

    Nothing works  with the D810 net files ..  Is there a new version of lightroom planned for mac?  Any solution would be apreciated Thanks in advance Mauro