Zend 6.1.0 2012 DB local and remote configuration Windows

I've installed Zend Server 6.1.0 (PHP 5.4.16 - Apache 2.2.22) on Win 2012 64 bit server. I need to connect to a local Oracle 12 c (64-bit) server and a Remote Oracle DB.

Zend Server already contains the client libraries (oraocci11.dll, oraociei11.dll, orannzsbb11.dll, orasql11.dll) Oracle and I am able to connect to the local Oracle DB and the remote, but only by using the full connect identifier in the PHP script, for example

$tns = "(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = XXX0001)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SID = ORAXXX))) « ;
$c = oci_connect ("XXXX", "XXXX", $tns);

What I would like is to go through the tnsnames.ora file. I tried to install the complete Oracle 32-bit client and also the instant client for 32-bit, but I couldn't get PHP through the tnsnames.ora. I've set the PATH variable to contain the client libraries at the front and also tried to set TNS_ADMIN env var, but I wasn't able to make PHP see the tnsnames.ora.

Do you know how can I set things up to make it work?

Thank you!

I solved this. It was a very trivial problem, I thought that connecting and in return, the new environment variable arise, instead a full server reboot is required to see the new env var (I set ORACLE_HOME). Very stupid problem, but I'm glad I solved it :-) Always look at phpinfo() to see what vars end PHP.

Tags: Database

Similar Questions

  • Local and remote to the same virtual machine replication?

    Is it possible to configure replication for a virtual machine to replicate locally and remotely?

    For example:

    ServerA is my server I need to replicate.

    I set up replication for this VM ServerA to storage replicated in the same site (local)

    I opened the replication again for ServerA VM and I can only see/manage this replication.

    I would like to reproduce ServerA VM offisite in a remote cluster of VCenter for DR purposes.


    Is this possible? What I am doing wrong?

    same source VM cannot be replicated on the two sites with vSphere replication targets.

    If you use replication level storage table between the source to the target and the second replication, you use the replication of vSphere, it would be a different story.

  • When you expand to show the local and remote sites in DW CS6 how local to be left?

    When you expand to show the local and remote sites in the previous version of DW, the type of files (local or remote) selected when you see do not both, automatically came on the left.  I liked local when I'm editing and when I'm ready to download I expand to see the two premises remotely.  Before, the one you selected, in my local case, was always displayed on the left.  In CS6 when I local selected before I develop, the local is now right and distance on the left. For me, this is not correct.  I find that having local on the works of best left to me as reading, left right, I want the room on the LEFT, so I put the update on the left of the remote control on the right.

    in DW CS6-> How to get the local to be on the left?

    Edit > Preferences > Site

    Change the right to the left on the top.

  • Local and remote server reversed in CS5

    I've just upgraded to Dreamweaver CS5 of CS3. I usually download files from local to a remote server by clicking on the button "expand to display local and remote sites" and drag the file on the local server to the file on the remote server. In CS3, the local server is on the left and the remote server has been right in the expanded view. In CS5, it is reversed, with the local server on the right and the remote server on the left. Recently I accidentally did drag a file to the remote server on the local server, crush a lot of work, I'd just do it, because I was used to the servers being on opposite sides. Very annoying, to say the least.

    Anyone know why they did this way in CS5? Is it possible to move the view so that the local server is on the left and the remote control is on the right in the expanded view?

    Hello Sarah,.

    You can change locals and remote to your wish

    On Windows:

    (1) go to the button Edit on the menu bar

    (2) select Preferences

    (3) in the preferences dialog, select site from the catagery option

    (4) on the top, you will have the option to display local and remote and the optoin side where you want to place

    On Mac OS

    1) go to Dreamweaver on the menu bar

    (2) select Preferences

    (3) in the preferences dialog, select site from the catagery option

    (4) on the top, you will have the option to display local and remote and the optoin side where you want to place

    I enclose the snapshot of the Preferences dialog box with the circle where you need to work

  • Time zone - local and remote server are different

    Hello

    DW CS4.

    My computer and I are in PST and my host is in MST.  When a file is transferred to the remote server, the server gives the timestamp of the local MST.  By example, if I save a file at 5:30, my time and my transfer it immediately, on the remote server it will show 06:30 p.

    QUESTION: This time zone difference will create a problem for DW when turning or synchronization?  FileZilla has an adjustment to account for the difference, but I don't see a framework like that in DW.

    Thank you.

    John

    DW synchronizes local and remote filestamps with precision in different time zones via an XML file: dwsync.xml in a folder hidden _notes.

    It seems to work well most of the time (and you do not normally need to worry) that problems sometimes arise if dwsync.xml files is corrupt, but if you delete it, DW will be re - build it.

    See here for more information:

    Synchronize the files on your sites the remote and

    http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7EA 4a.html

    The problems of synchronization in Dreamweaver CS4

    http://kb2.Adobe.com/CPS/405/kb405835.html

  • How to connect the local and Remote Desktop (Android OS) application simultaneously without one shot the other in the login screen?

    I want to connect to my local office via the remote desktop connection, but keep both connected at the same time without being local or remote kicking each other in the bridge/connection between the two. I tried to download and patch the termsrv.dll using UniversalTermsrvPatch - x 86 .exe for Windows Xp 32-bit SP3 compatibility. But still... Settings app may prevent 2 to be connected at the same time? If so could Microsoft please update their app. Any suggestions...

    Try this link for desktop connection xp remotely.

    https://www.Microsoft.com/en-US/Download/details.aspx?ID=7208

  • logical standby local and remote physical standby

    Dear all,

    My version of the database is 10.2.0.1.0 (production) and the x 86-64 OS Version Red Hat Enterprise 4 Linux operating system

    Here's my configuration details:

    Rprimary database: two-node RAC

    LOCAL database backup database: autonomous

    Database watch remotely: two node RAC

    So, my question is, I want my local DR physical to convert logical standby and

    Remote DR will work as physical sleep as it IS.



    SQL > EXECUTE DBMS_LOGSTDBY. BUILD

    Will after running the statement above in my primary database production there be any performance HIT.

    And another important thing is that my statement above, should not affect my remote physical Dr.

    Just the local DR should get converted to logic of the standby database


    Thanks and greetings
    Yvon Das

    Yvon says:
    Mr President, thank you very much for your answer...

    Actually in my case I want to be a logical and physical database to aid in total. What I'm trying to tell you, it's that.

    We have already two CARS physical distance DR nodes and a physical local autonomous local DR, a * nd we want to convert the local logical physical DR DR *, * this means I want to keep my DR RAC as physical standby*.so, when we will realize the package on the primary database

    exec dbms_logstdby.build;

    It will cause no problem for my CAR remote physical DR.

    Only local DR must be converted into logic.

    Thanks and greetings
    Yvon Das

    Published by: Yvon March 4, 2013 12:17 AM

    I understand your question completely, you can convert logical physical standby standby either locally or remotely. By running the package it will not impact any performance on the primary production database. By running the package SQL apply will be activated.
    There will be no problem with it. Again, you can have physics or logic of Eve in the same configuration of data protection.

  • With the help of local and remote servers

    Can someone point me to somewhere that explains the use of servers the remote and? I have set up a local server (using XAMPP) and also a site remote dev on my hosting server. I'm assuming that I can choose to download files on the local or remote as I wish (local test and publish remotely). Is this the case? Currently, I can't download files on the remote server. When I "put", the files just to go to the location of the test (localhost).

    Any ideas?

    You test locally on XAMPP (or similar) and when ready, download on your remote server. If using could not upload to the remote server, it means that you have not set the remote info in your site definition.

    The only thing you can not download through Put is the database. You must create a database with the same name on your remote server. If you have data that you want to download, you can use phpMyAdmin to export to a .sql file. Then use your remote version of phpMyAdmin to import the data by accessing the file .sql on your local hard drive.

  • synchronization of local and remote sites

    Greetings

    I created a site on there and then he FTPed to a server to my ISP. The site was working fine until I did a few changes that I note below. When DW and I try to try to get a glimpse in a browser, I am unable to display all the files in any browser as DW is unable to locate the files locally or remotely.

    I get the error message is:
    Firefox can't find the file at / _ / _ / _ / _ / ThankYouVeryMuch/Website/tyvmi 3/index.htm.

    Changes to the site:

    -J' reorganized my folders locally by creating a new root folder. When I tried to add 3 pages, I got several error messages. One of them was that DW did not find the homepage. Another was that it was impossible to create the site map and if I'm not mistaken DW was unable to create cache files.

    -My client had a friend add a few analytical Google on the site. This person also created a XML sitemap. Of course, local and web sites were not synchronized so that I was getting error messages more.

    -J' then downloaded of the site to a new directory in the new root folder that I created above. This site downloaded my local root directory in Site Manager and is located at ./___/___/___/___/thankyouverymuch/website/tyvmi 3/index.htm

    -Here are my current directories for the site thankyouverymuchinc.com:

    Site name: thank you very much Inc.

    Local: ThankYouVeryMuch
    -> Website
    -> tyvmi 3
    -> index.htm
    -> pages

    Remote control: host: ip address
    -> www/htdocs /.
    -> index.htm
    -> pages

    Thank you very much
    Marlene

    > ATTENTION: the selected folder contains no home page of the current site.

    Open the site for editing definition.
    Click the Advanced tab to do this faster.

    in the plan section of the site, change the location of this site "homepage".
    It will be the old information with the? in the name of the folder.

    Also, check the section local news-> default pictures folder location if
    you have completed as before.

    --
    Alan
    Adobe Community Expert, dreamweaver

    http://www.Adobe.com/communities/experts/

  • Hide folders server 2012 rdweb users and Remote Office applications

    When a user runs an application remotely to the 2012 rdweb server or an rdp client I don't want them to see the user of the PC server folders.  I just want them to see their local drives.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Changes of data type of column between the local and remote database

    Please point me the proper documentation, so I can understand what is happening.and how to solve the problem in the short term until we can change the database character set to match the remote database.

    Details:

    Remote database: set of 12 c CARS characters AL32UTF8

    Database local 11g 11.2.0.4 as UTF8 character.

    CREATE TABLE local_table_t AS (SELECT NAME FROM reference_table_t@remotedb)

    the NAME column in reference_table_t to remotedb is varchar2 (10 byte), it creates this column in local_table_t as varchar2 (30 bytes)

    CREATE TABLE local_table2_t AS (SELECT NAME FROM reference_table2_t@remotedb)

    the NAME column in reference_table_t to remotedb is varchar2 (10 char), it creates this column in local_table_t as varchar2 (30 char)

    This same problem also happens with views materialized from the remotedb.

    Thank you

    Dave.

    Found note size double or triple column when using (materialized) views / DEC in a db AL32UTF8 and the dblink pointing to a non-AL32UTF8 db (or vice versa). (Doc ID 1592514.1)

    that answers my question.

    Dave.

  • Expand to show local and remote gel

    I'm using my file viewer in the lower right corner of the default and all is good, well except that everything is way to small to be useful. When I click on the expandf button to display all the files the remote, I get beachball deathspin. Force quit is my only option here. I deleted the cache file and rebuilds the personal configuration file, now what?

    This only happens with one of the two managed sites. The other site works fine, everything works, no BBoD. I deleted all the zero k bytes of the files on the local side (5 found) does not.

    Clues would be appreciated...

    So I renamed the old local folder old and fresh with a new site. Save a file .ste before hand, it makes it really easy to do. Now, everything works, so something in my old local file folder was the cause? It worked yesterday... hmmmmm

  • Using Dreamweaver with site put in place. Local and remote server

    Hello

    I just dreamweaver cs6 and I have problems with the management of the site.

    So far, I used dreamweaver cs3 and when you set up a new site, the site definition had the local Info category and separate remote info.

    Now on CS6 I can't set up individually to the same site, it does not give the option, it's one or the other which he does not work for me if I want to test a page locally, through preview on the browser, otherwise it will download to the server if I choose FTP. If I choose only local then I lose all ftp settings and once I did the test it will not upload to the server.

    Certainly there must be a work around this or something Im doing wrong, but I do not understand what it is

    There is no need to uncheck remote and testing. Previewing locally should work exactly as it did in CS3.

    You use a language on the server side? If so, expand the files Panel by clicking this icon:

    Then, make sure that the test server icon is selected.

  • local and remote view in DW CS4

    I recently moved from MX2004 to CS4. Like the old version, I would like the opportunity to work in local mode and drag the files on the remote site. In CS4, I can't "see" the remote files. I've linked to the remote site with success by ftp, but in DW, I can not split the screen to see the remote display. When troubleshooting, every time I click on "manage site" and click "done" it seems that charging of the whole of the site. I tried to create a new site by way of starting over, but got the message that I would delete the entire site. Video, the screenshot shows a row of icons in the files Panel. I do not see these icons.

    I deleted the site definitions and more. It works now. Maybe I had defined the remote view and not the view of the local site under the Advanced tab, there is was no second view to show. In any case, now, all icons appear and I can see both views. Thank you very much.

  • Local and remote task bar

    Hello

    I was wondering if there is possibility to set the resolution to display for all connections to, say 95% of the screen?

    the goal is that the user can see the local taskbar under its connection to the Virtual Office at any workstation.

    So, it would be great if we can set the resolution, it fills the entire screen but withoiut local Taskabr.

    I found or no option in the config file or xml access web.

    Is this possible?

    Thank you

    Jeje

    As far as I can see, it is impossible to do so through vworkspace.

    However, how many times users really change their resolution (I guess if they are all users of portable computers that also have a docking station, it could happen a fair bit) then you just let them know that if they use X resolution, set custom resolution Webaccess for Y

    If you are using AppPortal, you might have a VBscript that checks the resolution (perhaps at startup), then sets the resolution of 90% in the registry.

    I spot something in the 85 called websettings but I have not watched in what is the control yet. Who knows, they may slipped into the exact thing you are looking for... but I doubt that we are lucky!

    Thank you.

Maybe you are looking for

  • Express Media Player starts automatically when the Satellite M45 is disabled

    After two years of trouble without using my Satellite M45 from acting weird. Occasionally, when it is turned off or in hibernation the Express Media Player will begin; This can occur immediately after hibernation or in the middle of the night even if

  • Function keys do not work

    My function keys do not work.  I can't even the keyboard of virtual function down most of the time.  Can someone give me some ideas as to what could be the problem?

  • How to share text and image at the same time using Blackberry invocation framework

    Hello I need to share the text and its corresponding picture to FB, Twitter and BBM using the framework of invocation of blackberry. No invocation framework support for images and text sharing simultaneously. When I use the mime type as text/plain, t

  • Suggestions: autozoom and scroll lock

    It might be nice if the app was an option to make autozoom in the pages of crop white margins, but leaving a small margin (maybe 2mm). That can magnify the text enough to allow my vision tired for me keep reading for more time.Also, I would block the

  • How to import .raw files in lightroom?

    I just downloaded the 30 day trial of lightroom. I am trying to import files in .raw format, but lightroom does not recognize them. When I opened the file folder to import my pictures, the folder is empty. How can I fix it?