Oracle8i connectivity with php4 in winXP

i have installed oracle server 8i and php4.3.4 as a module of apache web server in windows XP. for oracle connectivity i have uncommented the php_oracle.dll and php_oci8.dll in php.ini file in the windows directory. and made the extension_dir=”c:/phpwin/extensions/”. but still oracle is not connected with php cause it can't recognize the ocilogon function.
i donot install client (oracle).Will i install client?
if i do then how i connect it to the server or configure it to connect with php?
and if i don't then how i configure oracle? In this connection i want to add that i have found in the oracle folder oracle/network/admin there is tnsnames, sqlnet etc. do I need to configure it?
Every time it is said that set environmental variable. how can I do that?

PHP needs some Oracle libraries either from a Client or Database
install. If you already have the database installed on the machine
with PHP and Apache then you don't need a separate Oracle client
install.
Load the script:
  <?php
    phpinfo();
  ?> and check what environment variables are found. Is the Oracle bin
directory in PATH?
This document has useful information:
http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_windows.html
-- CJ

Similar Messages

  • Oracle10g with php4 connection

    Hi,
    Is there anyone can help me with the connection with oracle10g and php4. it is giving me an fatal error for the connection function ocilogon().says it cannt find the function.On the other hand oracle 8i is working nicely with it.I will be greatfull for the reply.
    Hasnain

    it will be difficult to say anything without seeing the relevant pieces of code that establish the connection.
    Can you login to the same DB using SQL*Plus?
    If yes, which SQL*Plus - Oracle8i or 10G or both?
    Is your environment setup for Oracle8i or Oracle10G?

  • Trouble connecting with sqlplus

    I installed the "instant client" rpm files...
    ORACLE_HOME=/usr/lib/oracle/10.1.0.2/client
    tnsnames is located in
    /usr/lib/oracle/10.1.0.2/client/tnsnames.ora
    and it has the following contents
    ibis8i =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ibis.[company_domain_here])(PORT = 1555))
    (CONNECT_DATA = (SID = oracle))
    when I try connecting with
    [user]@ibis8i
    Hi, I get the follwoing error
    ORA-12154: TNS:could not resolve the connect identifier specified
    I can't work out what the problem is :(
    This same tnsnames.ora file is used on another machine on the same network and it has no problems at all (ie. the specified identifier does exist).
    help would be much appreciated.

    I used php4 some years ago with 8.1.7 DB.
    In my php login function ORACLE_HOME was configured as
    putenv("ORACLE_HOME=/ora/OraHome1");
    and it worked (/ora/OraHome1 was my Oracle home).
    Now I don't use php anymore, but just trying to help you, I tried to connect to a 9i DB, and got your same error. Maybe 9i and 10g need a newer php version (or oci8 version) .....

  • Local RADIUS in AP1242 with non-cisco WinXP wireless clients

    I'd like to configure local RADIUS in AP1242 and connect non-cisco WinXP wireless clients (for example notebook with integrated radio) with it. I did configuration (config1.txt) like in instruction: http://cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c0912.shtml
    But I can't connect non-cisco WinXP wireless client with AP1242 anyway. At once Cisco wireless client with Aironet Desktop Utility connects with it without any problem. I've done some other configuration (config2.txt), but with the same result. Second configuration is rather then first.
    How can I connect non-cisco WinXP wireless clients with AP1242 with local RADIUS?

    Hi Stephen,
    Thanks for the quick reply. Below is the switchport config. I am able to ping the AP from the switch and connect to its web page from any workstations.
    interface GigabitEthernet0/5
    switchport trunk encapsulation dot1q
    switchport trunk native vlan 151
    switchport mode trunk
    end

  • Regaining Airport connection with WEP and Siemens Gigaset

    After loosing connection with MBP and Macbook and latest security- and Airport updates, reinstalling of IO80211Family.kext vers.1.5.1 helped.
    It's included in Airport Extreme Update 2007 001.
    Extracted it with Pacifist and copied it the Extensions folder.(as root)
    Important!!
    Repairing permissions and reboot.
    Took me two days to find out.
    Maybe it helps for other third party routers too.
    Intel MacMini works with all latest updated. (so far)

    Can anyone talk me though what to do since I know very little about wireless networking. I am quite prepared to buy a new wireless adaptor for the PC, but don't want to buy something that isn't going to work.
    Unfortunately, you didn't provide much information about your PC or the current external wireless adapter to be of much help. WPA was first supported with WinXP w/SP1; which OS is your PC running? Likewise, early versions of wireless adapters only supported WEP. What is the make/model of yours? Does your PC support PC cards, PCI cards (internal), and/or USB devices?

  • Connect host pc running winXP to Stand-Alone cDAQ 9139 running win7 embedded via Daqmx

    Hi
    trying to connect Stand-Alone cDAQ  9139 running embedded win7 to host PC running winXP via Daqmx 9.6 , both 9139 and host pc has Daqmx9.6 installed and connected with direct ethernet cable .. i need to review any steps available to do this task , the only one i found yet is for Stand-Alone cDAQ  9139 running Real Time mode not Win7 mode.
    Best Regards
    MyKat

    Hey MyKat-
    I just noticed that this post is in the 'Measurement Studio for .NET Languages' forum, so I wanted to make sure my message was not misleading.  If we added a feature for remotely targeting WES7 cDAQ controllers, it would be a LabVIEW-based solution.  I do not expect either RT or WES7 systems to be remotely targetable from Measurement Studio/Visual Studio environments.  Apologies for any confusion.
    Tom W
    National Instruments

  • Adobe cloud has lost connection with the server

    Adobe cloud has lost connection with the server, can't get adobe cloud to work so I can re-install photoshop to fix a corrupted DLL file.

    *Adding new items/removing orphans*
    Try iTunes Folder Watch or iTunes Library Updater. Folder Watch is much faster on the adding files front, can be set to run in the background and includes a useful exclusion feature, however it’s slow at removing orphans. iTLU is better for this although doing it manually after looking at a list of proposed removals generated by Folder Watch is probably faster still. iTLU can also be set to update iTunes when you've used 3rd party tools to change tag info.
    You may need to amend the list of file types these programs look for. My list includes:
    .mp3 .mp4 .m4a .m4b .m4p .m4v .mov .wav .aif .mid .ipa .ipg .ite .itlp .m4r .pdf
    Note the last 6 types may not be recognised as already being in the library so should either be omitted from the search or you can add (at least for Folder Watch) individual exclusions for files you know are already in your library.
    tt2

  • Untrusted server cert chain - while connecting with ldap

    Hi All,
    I am getting the following error while running a standalone java program in windows 2000+jdk1.3 environment to connect with LDAP.
    javax.naming.CommunicationException: hostname:636 [Root exception is ja
    vax.net.ssl.SSLException: untrusted server cert chain]
    javax.naming.CommunicationException: hostname:636. Root exception is j
    avax.net.ssl.SSLException: untrusted server cert chain
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA12
    275)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
    at java.io.OutputStream.write(Unknown Source)
    at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
    at Test2.getProxyDirContext(Test2.java:66)
    at Test2.main(Test2.java:40)
    Any help would be appreciated
    Thanks in Advance
    Somu

    This got resolved when in the code the following
    System.setProperty("javax.net.ssl.tmrustStore", CertFileName);
    where cert file name is the filename with complete path.the file is a CA certificate of the LDAP server
    in X509 format

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • HT204266 My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

  • Lost connection with Time Capsule (Office for Mac programmes run down)

    My colleague and I work at the office with 2 Macbooks. Both are connected wirelessly to the Time Capsule, which we use as a shared hard disk. We use Office 2008 for Mac. Now Word and Excel run down often after of little things like doing a search or cutting and pasting. I get the spinning ball can only do a forced quit to end the program. This is frustrating and time consuming!
    A friend told me to change my UID, cause my colleague and I both have the same UID (501) at our Macbooks. He downloaded Server Admin Tools to change my UID into 1001 with Work Group Manager. But when I arrived at the office this morning I didn't have a connection with the Time Capsule. To be able to work I changed the UID back to 501 again (but now I can't open excel document inless I drag them to the hard disk of my Macbook).
    The friend is not a Apple professional so he doens’t know how to help me anymore. Does anyone else have a suggestion?

    Temporarily, try connecting an Ethenret cable from your Mac to one of the LAN <-> ports on the Time Capsule
    Open AirPort Utility and Click Manual Setup
    Click on the word "Status" (2nd Line) and a window will open to with information about why the light is flashing amber

  • "Lost Connection with AIM" repeatedly

    Hi there,
    I'm using a new Linksys WRT54GL router with the DD-WRT v23 firmware -- which is otherwise fabulous, by the way -- but since going with the router iChat has been pretty unreliable. I can't connect to my sister in England (I'm in Canada): we keep getting "insufficient bandwidth" errors (I'm on a very hi-speed cable internet connection, so I don't think it's me!). Moreover, AIM frequently kicks me off iChat with the message "Lost connection with AIM".
    I've configured my router using instructions linked from this forum. I'm forwarding the following ports to my computer:
    5060
    5190
    5220
    5222
    5678
    16384
    And while I can connect to other users okay (except my sister, it seems), staying connected it a real issue. Can anyone recommend a fix?
    Thanks,
    Aaron.
    PowerBook G4 15-inch 1.67 GHz   Mac OS X (10.4.5)   The last PowerBook ever!

    Hi Aaron,
    This last port should be a group of 20 ports (16384-16403)
    iChat needs 4 ports from this group to do 1-1 Audio or Video chats.
    Many Linksys have UPnP. It is found in the Administration tab. If you have this you could use this. Disable the Port Forwarding if you do.
    Also port Forwwarding points to one IP/computer. If this is the case for you and you still have the device doing DHCP there is a cance you computer's IP has changed if it goes to sleep or is shut down when the lease time runs out.
    Check this on your computer and the Port Forwarding settings.
    10:26 PM Monday; February 27, 2006

  • Lost connection with db, restarting Weblogic

    hi,
    we have an server with oracle and whenever the connection
    with the db is lost for any reason and then comes again in a while the weblogic needs to be restarted again.
    i would love if someone could give me a tip of what excactlly weblogic is "loosing" from the connection or how i may run a script or anything so this to work automatically(mean to startup weblogic again).
    thanks anyway for reading my problem.

    Hi,
    Along with enabling "Test Reserved connections", also ensure refresh connections is enabled. Test Reserved Connections tests the connection only when a client makes a request while refresh connections ensures that all unreserved connections are also tested.
    -Jagan

  • "Lost connection with AIM" error message

    Hi all,
    I've been a long-time iChat user — I've had very few problems, but now, at home, whenever I've been connected for about 10-15mins, iChat just disconnects with the simple iChat Connect Alert that the app has "Lost connection with AIM. The connection with the host was unexpectedly lost."
    My Buddy List collapses to a "disconnected" header and I diappear from my Buddies' buddy lists. If I'm in the middle of a chat (video, audio or text), the chat continues uninterrupted, but I still disappear from people's lists as if I'd disconnected manually. Weird.
    The net result is that I have to keep checking to see if I'm connected and then reconnecting all the time. A real pain in the proverbial.
    It only happens at the house. My laptop doesn't disconnect if I'm at the office, for instance.
    I have cable, coming in to Netgear 814v2 router; out to an 8-port gigabit switch, which then feeds my three main machines. All via ethernet cabling.
    All machines have the same problem described above.
    I've made the usual Quicktime setting changes.
    I've listed the necessary ports in my Mac firewall settings (even though the firewall is turned off).
    Each machine has a dedicated IP issued by the router (10.0.0.2 thru 10.0.0.5)
    The router firmware is up to date.
    What else is there?! I have no problems initiating or joining any sort of chat with my buddies around the world. I have excellent bandwidth. My internet and email are never interrupted 24/7.
    Can someone help me? Pretty please?
    17" Powerbook G4 & Dual G5 2.5Ghz   Mac OS X (10.4.7)  

    Hi
    Try this log on to AIM on port 443 rather than port 5190
    Go to IChat > Preferences > Accounts.
    Log out of AIM and then use the Server Settings tab
    Set the port to 443.
    Log back in again.
    Tony

  • Lost ActiveX connection with LabVIEW server

    I have called LabVIEW in TestStand and tried to execute the test cases .
    While executing I got the following error:  ( Lost ActiveX connection with LabVIEW server.
    The LabVIEW adapter will try to reconnect on the next execution attempt.-18001; An error occurred accessing the LabVIEW ActiveX automation server.).

    Same error.  Is anyone from NI going to bother commenting on this?  It's been >8 months...

Maybe you are looking for