Using php with oracle http server

Hello folks
This question might have been answered on this forum, but i haven't found it yet.
Is it possible to integrate php into the apache server that is supplied with the oracle (9.2) database, the so called Oracle HTTP Server?
What technical issues are to consider and how do you do it on linux in that case? (SLES8)
Is there any support issues to consider if somebody modifies this oracle supplied http server?
Looking very much forward to some help...
Regards,
Christian

Well it was a spelling mistake in the beginning. I get the following output now:
./configure --with-oci8=$ORACLE_HOME \
--with-apxs=/opt/oracle/product/9ir2/Apache/Apache/bin/apxs \
--enable-sigchildcreating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 1.35 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up

Similar Messages

  • How to isolate web applications at URL level with Oracle HTTP Server?

    We have 2 machines each for oracle web cache, oracle http server and oracle application server (oc4j). We would like to host many web applications on this infrastructure. We have an issue with application/web site isolation for maintenance purposes.
    We have several oc4j containers for different web sites/applications but they all use one instance of Oracle Http Server. When we need to make changes to an application/web site or introduce a new web site (URL), we change the OHS configuration and restart OHS on each of the machines.
    As we have many URLs hosted on this OHS and plan to host a lot more (may be around 300), we need a way to slice and dice the URLs so that every change or any change should not need to go through a regression cycle or testing cycle for all the applications each weekend (our change window). When we used Apache earlier, we used to be able to create multiple httpd.conf (process level isolation) to cater to different applications.
    We could do this with Oracle Http Server too but Oracle will not support us. I appreciate any advice or suggestion with this issue.
    Thank you
    Ramana

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Is my configuration correct? PHP and Oracle HTTP server

    Hi all,
    I have a single server running RHEL5 x86-64 and Oracle 11.1. I also have the Oracle HTTP Server which purportedly has "PHP support".
    I am trying to do a basic test connect to my database, but I'm getting an error.
    My test is the following:
    <html>
    PHP Test with Oracle<head>
    <body>
    <pre>
    <?php
    $conn = oci_connect('scott', 'tiger', 'myserver/MYDBSERVICE');
    if (!$conn) {
    trigger_error("Could not connect to database", E_USER_ERROR);
    ?>
    </pre>
    </body>
    </html>When I open the page, I see the following:
    PHP Test with Oracle
    Fatal error: Call to undefined function: oci_connect() in /u01/app/oracle/product/HTTP_Server/ohs/htdocs/phptest/dtest4.php on line 6
    I've also tried phpinfo() and get the following:
    oci8
    OCI8 Support      enabled
    Revision      $Revision: apache_modules/mod_php/4.3.9/ext/oci8/oci8.c#0 $
    Oracle Version      10.1
    Compile-time ORACLE_HOME      /ade/svadugur_mjoyphp4311/oracle
    Libraries Used      no value
    Any idea what may be going on? I've looked through much documentation already before posting to no avail.
    Thank you for any insight.

    The oci_* names were introduced in PHP 5. In PHP 4 the equivalent connection command is ocilogon(). For other mappings see Appendix C of the free book http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
    I'd recommend you upgrade PHP. See "Installing OCI8 with Oracle Application Server on Linux" on p 76 of that book. Note the warnings.

  • Slow performance with oracle http server connecting weblogic

    I have a performance issue while using Oracle HTTP server as a proxy with weblogic server. It takes 10-15 seconds to pass the requests.
    I also received the error related to SSL in my error logs even though i havent configured the SSL.
    please find the error received in the OHS error logs
    nzos handshake error, nzos_Handshake returned 28862
    NZ Library Error: SSL IO error [Hint: the client stop the connection unexpectedly]
    And please find a request information from the access log files.
    Fri May 28 09:24:48 2010 <5944127503148828> getPooledConn: No more connections in the pool for Host[114.57.162.39] Port[6499] SecurePort[6499]
    Fri May 28 09:24:48 2010 <5944127503148828> general list: trying connect to '114.57.162.39'/6499/6499 at line 3082 for '/fed/user/authnoam?refid=id-ixGFItkxw4Nt4l3wlz4W9sWR-ao-'
    Fri May 28 09:25:00 2010 <5944127503148828> SSL is not configured for this connection
    Fri May 28 09:25:00 2010 <5944127503148828> Local Port of the socket is 4472
    it is visible that the while it is doing "general list trying to connect to" it takes a long time
    Any pointers are highly appreciated.

    Shannon,
    The OHS + Weblogic installation, just means you will have an admin server, with Enterprise Manager that can manage your OHS instances. That being said:
    1 - You don't have to extend any domain, since the only thing OHS will need is an Admin Server with Enterprise Manager.
    2 - I (myself, I don't speak for Oracle here) have a personal preference of having stand alone OHS. If you don't know how to work with httpd.conf and mod_wl.conf, I would suggest installing a separate domain only for it, that way you can keep the weblogic turned off, and turn it on only when you need to edit any configuration.
    Thanks

  • Installing Apex 4 on Oracle 11.2.0.3 with Oracle HTTP Server on WINDOWS

    Has someone put together a cookbook on installing the above? I have tried following the documentation; but it is in dire need of updating. I have become quite confused as to how to piece together alll of the parts. Seemed much easier in 10.2...
    TIA!

    Vorlon1 wrote:
    Has someone put together a cookbook on installing the above? I have tried following the documentation; but it is in dire need of updating. I have become quite confused as to how to piece together alll of the parts. Seemed much easier in 10.2...
    TIA!After a database re-install on my Windows 7 laptop 2 months ago I tried to install the HTTP server but had trouble getting it to work. After a day or two I gave up and used the EPG which works with some performance issues - pages can take many seconds to render. I think there is a conflict between the EPG and security software on the laptop but have not been able to pin down the exact problem. Anyway, the EPG is not an option for you and even Oracle does not reccommend it for production implementations. The EPG is okay for quick-and-dirty R & D but real implentation should have something better. I prefer the EPG on my laptop because the Apex listener required an extra window to be open that I was likely to close by mistake (my error yes. Reality is sometimes stupid).
    I have had several sucessful installs on older versions of Apex on Oracle 9 and 10 on Windows XP using the HTTP server but always struggle with the configuration; getting the settings in the .conf file (whatever it is called now) correct remains difficult (at least for me). I keep installation notes on problems encountered and their solutions. Typical issues I encounter are
    1. Incorrect configuration file settings
    2. Improper loading of images
    3. Missing installation steps (unlocking ANONYMOUS, for instance, or not updating the PL/SQL version).
    4. Make sure the correct URL is being used
    5. When using the HTTP Server making sure it is running by using its URL is very heplful
    Follow the installation instructions for your platform and listener. If something does not work first review the installtion instructions very carefully, then perform web searches for answers to the problem. Except for last time when I lost patience with the HTTP server the installations have always worked.
    I also find Windows 7 painful - the added security prevents me from editing needed files without jumping through hoops. I don't even want to think about Windows 8 ...

  • Oracle HTTP Server 10.1.2.0.2 + php 5

    Hi everybody
    I need to know if is possible and supported, configure Php 5 (5.1.16). with Oracle HTTP Server 10.1.2.0.2
    Where i can find information about this issue.
    thank´s

    "For Oracle Application Server 10g (9.0.4) and later releases, Oracle support is provided for mod_php in the same manner as for mod_perl, the plug-in module for Perl, another popular scripting language. While Oracle does not support the PHP interpreter and language, it does support versions of OHS which include mod_php and will assist in configuration and inclusion of mod_php into OHS. Also, Oracle will assist in diagnosing some PHP problems and will forward PHP interpreter bugs to the relevant open source development organizations." [1]
    [1] "Statement of Direction: Oracle Application Server 10g and PHP"
    http://www.oracle.com/technology/tech/php/htdocs/php_ohs_sod.html
    Instructions on how to install and use PHP with OHS
    http://www.oracle.com/technology/products/ias/ohs/htdocs/php_ohs.htm
    Kind regards,
    Christopher L. Simons

  • Use apache webserver instead of oracle http server in EPM 11.1.20?

    Is it possible to configure enterprise performance management 11.1.20 with apache webserver instead of using the default oracle http server and if so, can someone point me to the instructions for how to set this up?

    Wow. You really need to keep going back to check the certification matrix, huh. The version I have shows that Apache is supported. Apparently that was deleted on 7/28.
    I don't think it should matter much, though, since Oracle HTTP server is Apache under the covers.I ran into this when I had to use the IBM HTTP web server, which is also Apache under the covers. when you look at httpd.conf, it looks just like Apache. So, I would guess that whatever configuration you did with the Apache web server you will also be able to do with the Oracle web server.
    Jerry

  • Mod_oc4j Oracle HTTP Server 10.1.2.0.2

    Hi!!
    In this moment i made a installation in HA environment of Oracle AS 10gr2, but now i need plug a cluster the oc4j 10gr3 to this environment.
    The question is: if i have a cluster in the web layer with Oracle HTTP Server 10g r2, can i use the Mod_oc4j to redirect request to the oc4j 10gr3 cluster? or i need install the Oracle HTTP Server 10gr3 for do it?
    Any doc
    Thanks in advance!!!

    Hmm interesting question. Theoretically, I don't see why not, but the question is that 10.1.3 is a loose cluster managed by opmn and dcm so I don't know if the "cluster" option will still work. Why not give it a try "cluster:clustername" check the HA guide/clustering guide on mod_oc4j syntax. Also try indvidual 10.1.3 names.
    Please let me know how things work out for you...I would like to follow up on this...
    Thanks,
    Deepak

  • Oracle HTTP Server as web tier for OBIEE - Best Practices?

    Hi All,
    A bit of a cross-topic issue - IHAC which wants to add a web tier (in a form of additional DMZ server with Oracle HTTP Server installed) to existing OBIEE installation.
    Are there any best practices regarding all the security aspects - installations, ports, SSL, certificates, keystores etc. ?
    Thank you in advance,
    Roman

    Am not using weblogic, I'm doing standalone setup
    Standalone:
    FMW 11g Web-Tier products are configured without a domain and administered from the command line. In this case, be sure to UN-check the selection for “Associate to WebLogic Domain” during the installation prompts and uncheck the web cache.. Only OHS is installed.
    Is it possible to install sun jdk 64 bit on AIX 7.1 machine.. ?

  • Can we use PHP with Portal.

    Hello !
    Can we use PHP with oracle portal.
    Can we make portlets in PHP and use it in oracle portal.
    If yes then how .
    Any kind of help will be appreciated .
    Regards
    Seemab

    thank U marianfromspringwood..
    one more doubt please tell it clearly,
    i had bought ipad 2 wifi 3g 32gb  AT&T model from sanfrancisco, do i need to activate my ipad2 in america it self
    by AT&T ,or can i activate it in india with airtel,vodafone,bsnl,idea,etc gsm service provider. and weather my ipad2 wil work correctly in india, and if i have any problem in future then can i get assistance from india only or should i send it to america..............??

  • Oracle HTTP Server - JSP pages in Apache\htdocs\ only????

    I have been trying to move away from Microsoft products for some time. I installed Oracle 8.1.7 Enterprise Edition which came with Oracle HTTP server. My application is working fine except for one problem I am having. I cannot get my JSP pages to pull from any other directory except ".....\Apache\htdocs\" Could someone please help me to correct this problem?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Prem:
    your need to configure or map the others directory in apache to work in httpd.conf.
    prem<HR></BLOCKQUOTE>
    Does someone have an example of how to configure or map to other directories in httpd.conf?
    null

  • Oracle HTTP Server + PHP

    Does anyone know how to enable PHP support on Oracle HTTP Server (from Oracle DB Companion CD)? I tried to compile PHP on it, bet I get the following error:
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS...
    Sorry, I was not able to successfully run APXS. Possible reasons:
    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    The output of /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/apxs follows
    ld.so.1: /u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd: fatal: libdms2.so: open failed: No such file
    or directory
    apxs:Error: Sorry, no DSO support for Apache available
    apxs:Error: under your platform. Make sure the Apache
    apxs:Error: module mod_so is compiled into your server
    apxs:Error: binary `/u01/app/oracle/product/10.1.0/cp_1/Apache/Apache/bin/httpd'.
    configure: error: Aborting
    Oracle HTTP server does not have DSO support, is there some possibility to enable it? Or there exists another way to enable PHP support on Oracle HTTP server.

    Could you paste the full command line you used to run the configure script? My initial guess is that you didn't specify the full path to Apache's apxs (usually located somewhere around "$ORACLE_HOME/Apache/Apache/bin/apxs"). Among other things, try making sure you've specified "--with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs" on the command line.
    If you don't know where apxs might be, you can also usually try finding apxs with "find / -name apxs > find.out". If you have "find" on your flavor of *n?x, this will output all files exactly matching the name "apxs" to a file named "find.out" in your current directory. You can usually view the file by running "cat find.out" on the command line. Look for lines in the file with "Apache" on them and/or your Oracle install directory (or $ORACLE_HOME).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to integrate Oracle Http Server with Weblogic

    Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server. Oracle Http Server (OHS) is based on Apache 2.0. I am trying to configure Weblogic to use OHS that comes with OAS install as proxy on Linux environment. I am unable to get the WLS plugin for Apache to work with OHS. When I tried to start the OHS, I got the following errors:
    /oracle/product/10.1.3.1/OracleAS_3/Apache/Apache/bin/apachectl startssl: execing httpd
    Syntax error on line 1125 of /oracle/product/10.1.3.1/OracleAS_3/Apache/Apache/conf/httpd.conf:
    Cannot load /oracle/product/10.1.3.1/OracleAS_3/Apache/Apache/libexec/mod_wl128_20.so into server: /oracle/product/10.1.3.1/OracleAS_3/Apache/Apache/libexec/mod_wl128_20.so: undefined symbol: apr_pool_cleanup_null
    I checked the library, and I found in several places, such as /usr/lib.
    The following is the configuration that I put in http.conf file:
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7001
    MatchExpression /AIP
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7001
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    Anybody knows how to fix this?
    Thanks.

    You're right: Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server but you are using Oracle Application Server 10.1.3.1.0 which is based on Apache *1.3* as you can read in "Oracle® HTTP Server Administrator's Guide"
    10g (10.1.3.1.0) - Part Number B28948-01 - 1.1 Oracle HTTP Server Features, right under "Based on Apache - HTTP v1.1 Support" at
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28948/overview.htm#i1008837.
    As far as I know, the only OHS based on Apache *2.0* is available as a standalone release: "Oracle HTTP Server (Apache 2.0) (10.1.3.3.0) for Linux x86" - 32bit. You can download it from http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxsoft.html (as_101330_apache2_lnx.zip).
    I've tested it successfully.
    Edited by: Virgil on Jan 15, 2009 3:08 AM

  • Mod_osso behavior differences with 10gR3 Oracle HTTP Server 2

    We have an install of standalone 10gR3 Oracle HTTP Server 2 (i.e. the Apache 2 version), and have noticed that the behavior of mod_osso is different than the regular 10gR3 Oracle HTTP Server (i.e. the Apache 1 version).
    We use the following in our mod_osso.conf:
    <Location /somepath>
    AuthType Basic
    require valid-user
    </Location>
    First Difference: With OHS 2, when we go to /somepath, we get the error "missing AuthName" in the Apache logs.
    So, we set an AuthName. Now, our mod_osso.conf looks like this:
    <Location /OnDemand>
    AuthType Basic
    AuthName "Oracle Single Sign On"
    require valid-user
    </Location>
    Second Difference: Now, we we go to /somepath, Apache returns a 401, which causes the browser to prompt for credentials! We can enter anything we want in the dialog, and everything will continue as normal (i.e. redirects to the Oracle SSO Server to prompt for credentials, etc).
    So, our question is: Why these behavior differences in 10gR3 OHS 2? It almost seems as if it's using an old 9i mod_osso!
    Thanks,
    - Bill

    Okay, we figured it out.
    Apparently, the three "LoadModule mod_auth*" lines in OHS 2 httpd.conf need to be commented out.
    Now mod_osso is working exactly as with OHS 1.
    - Bill

  • Use oracle http server to configure mod_plsql

    Hi,
    I have a question.
    I have already installed HTTP server using the Oracle Database10g Companion CD
    on my Windows 2000 SP4.
    At the end of the installation, it refers to http://<computer_name>:7777
    to open the HTTP server page.
    It seems work fine that it showed the Welcome page of HTTP Server and I find this
    "Oracle HTTP Server is the Web server component of Oracle Application Server 10g Release 2 (10.1.2). Oracle HTTP Server is a robust, reliable Web server based on the Apache HTTP Server, version 1.3."
    But I could'nt do anything of using the mod_plsql components nor another
    Modules (mods) which showed in the welcome page since there is no link to such things.
    BTW, I have experienced with the HTTP server previously on Oracle9i
    When I open the HTTP server page, it showed links to some Modules (mods)
    components such as mod_plsql, etc.
    Does the HTTP Server in this version need to be configured to use the links like in Oracle9i's HTTP Server?
    Or the new Oracle HTTP server does not support for this thing?
    Actually, I worked on Oracle Workflow, which need the Oracle HTTP server to configure
    some few things such as DAD.
    Please, can anybody help me to solve this problem.
    Thanks,
    Buntoro

    look at
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12255/confmods.htm
    hope this helps
    carlos

Maybe you are looking for

  • Data type to be used

    Hi All, I have a requirement where i have to fetch mutiple rows of a table and then concatenate the data of a particular field of all the rows and put it into a single variable. I have no restrictions on the no of rows to be fetched due to which i ca

  • Specifying target width and height

    I want to make one of my b to b links just a small pop-up listing board members names which would open in front of the current page. Do i create a separate html file to link to? If so, how do I set width and height? Is there some other way to do this

  • LOAD vs OVERWRITE INSERT PRODUCE DIFFERENT TABLE SIZE!!

    Hi again! Here is another issue I don't understand why happens: The size of the table doubles if I load the data with INSERT OVERWRITE vs LOAD. As follows is an illustration of the problem: I created a table "item". Loaded the data from item.dat (apr

  • My coupons don't print barcodes

    When I print from coupons.com no barcodes print...there's a picture of the item, but no barcode or retailer information. It's like the info gets lost going to the printer and only part of the coupon comes out on paper. I've tried on 4 different print

  • Two iphones, one itunes acct.

    Can I sync two iphones with one itunes acct.? If so how would I do this? Thanks